更新
This commit is contained in:
55
AntdWpf/Themes/Generic.xaml
Normal file
55
AntdWpf/Themes/Generic.xaml
Normal file
@@ -0,0 +1,55 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:AntdWpf.Controls">
|
||||
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Themes/Theme.xaml" />
|
||||
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Window.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Alert.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/AntIcon.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Avatar.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Badge.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/ContentControl.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/WindowButton.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/WindowButtons.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/WindowCommands.xaml" />
|
||||
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Button.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/RadioButton.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/CheckBox.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/ToolTip.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/ContextMenu.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/TextBox.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/PasswordBox.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/ComboBox.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/ProgressBar.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Slider.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Switch.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Spin.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/TabControl.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Tag.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Input.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/CheckableTag.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/RadioButtonGroup.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Heading.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/Hyperlink.xaml" />
|
||||
|
||||
<ResourceDictionary Source="pack://application:,,,/AntdWpf;component/Styles/CodeBox.xaml" />
|
||||
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<Style BasedOn="{StaticResource Antd.ContentControl}" TargetType="{x:Type controls:ContentControl}" />
|
||||
<Style BasedOn="{StaticResource Antd.ThumbContentControl}" TargetType="{x:Type controls:ThumbContentControl}" />
|
||||
<!--Default style for ant design-->
|
||||
<!--<Style BasedOn="{StaticResource Antd.CodeBox}" TargetType="controls:CodeBox" />-->
|
||||
<Style BasedOn="{StaticResource Ant.RadioButton}" TargetType="RadioButton" />
|
||||
<Style BasedOn="{StaticResource Ant.CheckBox}" TargetType="CheckBox" />
|
||||
<Style BasedOn="{StaticResource Ant.ContextMenu}" TargetType="ContextMenu" />
|
||||
<Style BasedOn="{StaticResource Ant.MenuItem}" TargetType="MenuItem" />
|
||||
<Style BasedOn="{StaticResource Ant.TextBox}" TargetType="TextBox" />
|
||||
<Style BasedOn="{StaticResource Ant.PasswordBox}" TargetType="PasswordBox" />
|
||||
<Style BasedOn="{StaticResource Ant.ComboBox}" TargetType="ComboBox" />
|
||||
<Style BasedOn="{StaticResource Ant.ComboBoxItem}" TargetType="ComboBoxItem" />
|
||||
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user