Picker text disappears after selection when embedded in TableView (Windows 8.1 store project)

Hi,
I can't seem to figure out why a Picker's text disappears after selection on a Windows 8.1 store project when embedded in a TableView ViewCell.

Starting from this TableView example: https://github.com/xamarin/xamarin-forms-samples/tree/master/UserInterface/TableView
I added a Windows 8.1 project to the solution. As a test, I injected the following code segment into one of the implementations.

...

Picker booleanPicker = new Picker();
booleanPicker.Items.Add("Yes");  // 0
booleanPicker.Items.Add("No");   // 1
booleanPicker.SelectedIndex = 1;

var pickerCell = new ViewCell
{
    View = new StackLayout
    {
        Orientation = StackOrientation.Horizontal,
        Children =
        {
            booleanPicker
        }
    }
};

section1.Add(pickerCell);

...

This is driving me a little crazy - does anyone know what may be going on here?

Answers

Sign In or Register to comment.