在windows商店应用程序(XAML)中设置组合框下拉列表

时间:2013-03-26 10:22:19

标签: xaml windows-store-apps winrt-xaml styling

我正在尝试在XAML中设置ComboBox控件的样式,但还没有设法在下拉列表/弹出窗口中设置颜色样式。 ComboBox似乎包含ScrollViewer所以我正试图设计它。 ScrollViewer中的项目是使用ContentTemplate生成的,我想我需要以某种方式设置它。

1 个答案:

答案 0 :(得分:3)

检查default system brush。您可以通过在资源字典中添加以下行来自定义这些颜色。

<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="MY_COLOR_HEX_CODE"/>
相关问题