Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要以编程方式强制(WP7 工具包)ListPicker 以完整模式显示其列表。我该怎么做(或者如何发送点击手势或点击间接做同样的事情)?谢谢!
您可以将 的 设置ExpansionMode为ListPicker您想要的样式。通过 XAML
ExpansionMode
ListPicker
<toolkit:ListPicker x:Name="MyListPicker" ExpansionMode="FullScreenOnly" > .... </toolkit:ListPicker>
或在代码中;
MyListPicker.ExpansionMode = ExpansionMode.FullScreenOnly
希望有帮助。