I am trying to allow the listpicker dropdown to go to a full screen mode. When i enter the expansion mode to fullscreen only it will crash with the first chance expection. Below is my code:
C#:
monthCat.SetValue(Microsoft.Phone.Controls.ListPicker.ItemCountThresholdProperty,12);
XAML:
<toolkit:ListPicker Name="monthCat" ExpansionMode="FullScreenOnly">
<toolkit:ListPickerItem Content="January" />
<toolkit:ListPickerItem Content="February" />
<toolkit:ListPickerItem Content="March" />
<toolkit:ListPickerItem Content="April" />
<toolkit:ListPickerItem Content="May" />
<toolkit:ListPickerItem Content="June" />
<toolkit:ListPickerItem Content="July" />
<toolkit:ListPickerItem Content="August" />
<toolkit:ListPickerItem Content="September" />
<toolkit:ListPickerItem Content="October" />
<toolkit:ListPickerItem Content="November" />
<toolkit:ListPickerItem Content="December" />
</toolkit:ListPicker>
When I removed the ExpensionMode, it works fine but it is not on the fullscreenmode.