Reputation: 3978
I need to programmatically force a (WP7 toolkit) ListPicker to show its list in full mode. How can I do that (or how to send the tap gesture or click to indirectly do the same)? Thanks!
Upvotes: 0
Views: 1307
Reputation: 2735
You can set the ExpansionMode
of the ListPicker
to your desired style. Via XAML
<toolkit:ListPicker x:Name="MyListPicker"
ExpansionMode="FullScreenOnly"
>
....
</toolkit:ListPicker>
Or in code;
MyListPicker.ExpansionMode = ExpansionMode.FullScreenOnly
Hope that helps.
Upvotes: 5