Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drop-down Selection Control - Windows 8 Metro - XAML

I want the dropdowns like in the pictures below:

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.

like image 986
Andre Gärtner Avatar asked Aug 24 '12 17:08

Andre Gärtner


2 Answers

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>
like image 155
Bianca Daniciuc Avatar answered Oct 20 '22 21:10

Bianca Daniciuc


you would have to use Popup. Below link might help you

http://rahulpnath.com/blog/windows-8-series-drop-down-button/

like image 41
Rahul P Nath Avatar answered Oct 20 '22 19:10

Rahul P Nath