Linh Pham
Linh Pham

Reputation: 3025

Metro App Style: How to change the colour/remove/hide of ComboBox drop down arrow?

I have this simple ComboBox:

<StackPanel>
    <ComboBox Width="200" Background="Transparent" 
    Foreground="White" BorderBrush="Transparent" 
    UseLayoutRounding="True" SelectedIndex="0">
        <x:String>item 1</x:String>
        <x:String>item 2</x:String>
        <x:String>item 3</x:String>
    </ComboBox>    
</StackPanel>

I wanna change the colour of drop down arrow, is there any way to change it? Or at least remove/hide it if possible.

Upvotes: 0

Views: 1074

Answers (1)

J.B
J.B

Reputation: 1700

Posting as an answer for future reference:

you can edit the combobox style by opening the xaml file you have it defined in in Blend, right clicking the combobox, and selecting edit template --> edit a copy. From the screen that comes up you can find the appropriate values to change

Upvotes: 2

Related Questions