【问题标题】:Find MahApps Metro title bar color查找 MahApps Metro 标题栏颜色
【发布时间】:2015-07-25 08:57:13
【问题描述】:

我正在使用MahApps Metro 并且我正在尝试使用TitleBar 颜色以将其与其他控制器一起使用:

在App.xaml 文件中我只能看到:

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />

theme 的名称是什么,例如我可以将 BaseLight 更改为 Red,我的 TitleBar 变为 Red,但我真的很喜欢这种颜色。 任何建议如何找到这种颜色?

【问题讨论】:

    标签: wpf titlebar mahapps.metro


    【解决方案1】:

    应该是

    AccentColorBrush

    你可以这样访问它:

    <TextBox Background="{DynamicResource AccentColorBrush}" />
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-02-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多