The following is bound to a List<int> using the ItemsSource in code behind (problem also exists if using ItemsSource from XAML):
<toolkit:ListPicker x:Name="uxPicker"
Margin="12,5,12,0"
Header="number"
FullModeHeader="Choose a number"
ItemCountThreshold="0"
ListPickerMode="Full"
SelectedItem="{Binding NumberProperty, Mode=TwoWay}" />
However, when the page with the above control loads and I return to my previous page (main page of my application), the AppBar is no longer visible.
Changing the ListPickerMode="Normal" resolves this issue.
Comments:
<toolkit:ListPicker x:Name="uxPicker"
Margin="12,5,12,0"
Header="number"
FullModeHeader="Choose a number"
ItemCountThreshold="0"
ListPickerMode="Full"
SelectedItem="{Binding NumberProperty, Mode=TwoWay}" />
However, when the page with the above control loads and I return to my previous page (main page of my application), the AppBar is no longer visible.
Changing the ListPickerMode="Normal" resolves this issue.
Comments:
ListPickerMode is read-only in the latest version of the toolkit (as of the November 2011 Toolkit).