Try Windows Phone Toolkit, use the ContextMenu control.
Dropdown menu using WP8
-
18-07-2023 - |
문제
I am trying to find on internet how can I using dropdown menu on Windows Phone 8 but I can not find illustrative something. How can I using dropdown menu on WP8.
Thanks in advance.
(sorry my language)
해결책 2
다른 팁
you can fill data as:
<toolkit:ListPicker>
<toolkit:ListPickerItem Content="{Binding LocalizedResources.woman, Source={StaticResource LocalizedStrings}}"/>
<toolkit:ListPickerItem Content="{Binding LocalizedResources.man, Source={StaticResource LocalizedStrings}}"/>
<toolkit:ListPickerItem Content="{Binding LocalizedResources.other, Source={StaticResource LocalizedStrings}}"/>
</toolkit:ListPicker>
Also you can do this by using binding and data template.
See the ListPicker
control from the Windows Phone Toolkit. You can find samples in there.
제휴하지 않습니다 StackOverflow