Home » Windows » Drop-down Selection Control – Windows 8 Metro – XAML

Drop-down Selection Control – Windows 8 Metro – XAML

Posted by: admin February 27, 2018 Leave a comment

Questions:

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.

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>

Questions:
Answers:

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

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

Questions:
Answers:

These look like ListBoxes that were placed in some popups. Callisto has a Menu control that I haven’t seen, but from the name of it – it might be similar (I think you are supposed to put it in a Flyout control).