跟新颜色配置
This commit is contained in:
1 parent
45829fa267
commit
d5232c581c
7 files changed
+66
-10
No files matched your search
@@ -12,9 +12,13 @@
|
||||
<ResourceDictionary Source="pack://application:,,,/MAX.Common.WPF;component/Resources/Generic.xaml" />
|
||||
<ResourceDictionary Source="/Store.Management.Framework;component/Controls/DataGridEx/DataGridEx.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<FontFamily x:Key="IconPack">Fonts/iconfont.ttf#iconfont</FontFamily>
|
||||
|
||||
|
||||
<Style BasedOn="{StaticResource DataGridExBaseStyle}" TargetType="{x:Type f:DataGridEx}">
|
||||
<Setter Property="SelectedRowBackground" Value="{DynamicResource SelectedBackgroundBrush}" />
|
||||
<Setter Property="SelectedRowForeground" Value="{DynamicResource SelectedForegroundBrush}" />
|
||||
</Style>
|
||||
<Style x:Key="TextBlockIcon" TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="FontFamily" Value="{StaticResource IconPack}" />
|
||||
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||
@@ -23,6 +27,14 @@
|
||||
</Style>
|
||||
|
||||
<Style BasedOn="{StaticResource TextBlockIcon}" TargetType="{x:Type f:IconText}" />
|
||||
<Style BasedOn="{StaticResource {x:Type MenuItem}}" TargetType="{x:Type MenuItem}">
|
||||
<Setter Property="Width" Value="200" />
|
||||
<Style.Resources>
|
||||
<Style BasedOn="{StaticResource TextBlockIcon}" TargetType="{x:Type f:IconText}">
|
||||
<Setter Property="FontSize" Value="16" />
|
||||
</Style>
|
||||
</Style.Resources>
|
||||
</Style>
|
||||
<Style
|
||||
x:Key="WindowBase"
|
||||
BasedOn="{StaticResource WindowWin10}"
|
||||
|
||||
Reference in new issue
Block a user