finnsson
finnsson

Reputation: 4067

Styling combobox dropdown in windows store apps (XAML)

I'm trying to style the ComboBox control in XAML but haven't managed to style the colors in the dropdown/popup. The ComboBox seem to contain a ScrollViewer so I'm trying to style that. The items in the ScrollViewer is generated using a ContentTemplate and I guess I need to style it somehow.

Upvotes: 1

Views: 947

Answers (1)

Farhan Ghumra
Farhan Ghumra

Reputation: 15296

Check this default system brush. You can customize these colors by adding below line in resource dictionary.

<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="MY_COLOR_HEX_CODE"/>

Upvotes: 3

Related Questions