下拉选择控制 - Windows 8 Metro - XAML [英] Drop-down Selection Control - Windows 8 Metro - XAML
本文介绍了下拉选择控制 - Windows 8 Metro - XAML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要下拉列表如下图所示:
I want the dropdowns like in the pictures below:
我不知道我怎么得到他们我想这些是一些组合框,但我不确定。任何人都可以帮我,并提供xaml代码?谢谢。
I dont know how I get them. I suppose that these are some kind of comboboxes but I am not sure. Can anyone help me and provide the xaml code?! Thanks.
推荐答案
我想你正在寻找组合框: Windows 8存储控制列表(MSDN)。要使用:
I suppose you are looking for Combo box: Windows 8 store controls list (MSDN) . To use:
<ComboBox x:Name="comboBox1" SelectionChanged="ComboBox_SelectionChanged" Width="100">
<x:String>Item 1</x:String>
<x:String>Item 2</x:String>
<x:String>Item 3</x:String>
</ComboBox>
这篇关于下拉选择控制 - Windows 8 Metro - XAML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文