misc: remove prefix.
This commit is contained in:
parent
ae1f4ffe60
commit
92c13081f3
@ -16,11 +16,6 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Design.PreviewWith>
|
</Design.PreviewWith>
|
||||||
|
|
||||||
<ControlTheme x:Key="RadioButtonGroupBorder" TargetType="Border">
|
|
||||||
<Setter Property="Border.CornerRadius" Value="{DynamicResource RadioButtonGroupCornerRadius}" />
|
|
||||||
<Setter Property="Border.Background" Value="{DynamicResource RadioButtonGroupBackground}" />
|
|
||||||
</ControlTheme>
|
|
||||||
|
|
||||||
<ControlTheme x:Key="CardBorder" TargetType="Border">
|
<ControlTheme x:Key="CardBorder" TargetType="Border">
|
||||||
<Setter Property="Border.Padding" Value="{DynamicResource ThicknessCardPadding}" />
|
<Setter Property="Border.Padding" Value="{DynamicResource ThicknessCardPadding}" />
|
||||||
<Setter Property="Border.BorderBrush" Value="{DynamicResource BorderCardBorderBrush}" />
|
<Setter Property="Border.BorderBrush" Value="{DynamicResource BorderCardBorderBrush}" />
|
||||||
|
@ -191,11 +191,11 @@
|
|||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<Grid x:Name="RootGrid" ColumnDefinitions="Auto,*">
|
<Grid ColumnDefinitions="Auto,*">
|
||||||
<Grid
|
<Panel
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Margin="0,0,0,0"
|
TemplatedControl.IsTemplateFocusTarget="True"
|
||||||
VerticalAlignment="Center">
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
||||||
<Border
|
<Border
|
||||||
x:Name="NormalRectangle"
|
x:Name="NormalRectangle"
|
||||||
Width="{DynamicResource CheckBoxBoxWidth}"
|
Width="{DynamicResource CheckBoxBoxWidth}"
|
||||||
@ -206,11 +206,11 @@
|
|||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="CheckGlyph"
|
x:Name="CheckGlyph"
|
||||||
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
||||||
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
||||||
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
||||||
</Grid>
|
</Panel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
@ -328,7 +328,7 @@
|
|||||||
<Setter Property="BorderThickness" Value="{DynamicResource CheckBoxCardBorderThickness}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource CheckBoxCardBorderThickness}" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource CheckBoxCardCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource CheckBoxCardCornerRadius}" />
|
||||||
<Setter Property="Background" Value="Transparent" />
|
<Setter Property="Background" Value="Transparent" />
|
||||||
<Setter Property="CheckBox.Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate TargetType="CheckBox">
|
<ControlTemplate TargetType="CheckBox">
|
||||||
<Border
|
<Border
|
||||||
Name="RootBorder"
|
Name="RootBorder"
|
||||||
@ -523,9 +523,9 @@
|
|||||||
<Setter Property="Padding" Value="{DynamicResource CheckBoxCardPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource CheckBoxCardPadding}" />
|
||||||
<Setter Property="BorderThickness" Value="{DynamicResource CheckBoxCardBorderThickness}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource CheckBoxCardBorderThickness}" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource CheckBoxCardCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource CheckBoxCardCornerRadius}" />
|
||||||
<Setter Property="CheckBox.VerticalContentAlignment" Value="Center" />
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
<Setter Property="Background" Value="Transparent" />
|
<Setter Property="Background" Value="Transparent" />
|
||||||
<Setter Property="CheckBox.Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate TargetType="CheckBox">
|
<ControlTemplate TargetType="CheckBox">
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
x:Name="PART_ContentPresenter"
|
x:Name="PART_ContentPresenter"
|
||||||
|
@ -153,16 +153,21 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
|
<ControlTheme x:Key="RadioButtonGroupBorder" TargetType="Border">
|
||||||
|
<Setter Property="CornerRadius" Value="{DynamicResource RadioButtonGroupCornerRadius}" />
|
||||||
|
<Setter Property="Background" Value="{DynamicResource RadioButtonGroupBackground}" />
|
||||||
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme x:Key="ButtonRadioButton" TargetType="RadioButton">
|
<ControlTheme x:Key="ButtonRadioButton" TargetType="RadioButton">
|
||||||
<Setter Property="RadioButton.CornerRadius" Value="{DynamicResource RadioButtonButtonCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource RadioButtonButtonCornerRadius}" />
|
||||||
<Setter Property="RadioButton.VerticalContentAlignment" Value="Center" />
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
<Setter Property="RadioButton.Margin" Value="2" />
|
<Setter Property="Margin" Value="2" />
|
||||||
<Setter Property="RadioButton.Cursor" Value="Hand" />
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
<Setter Property="RadioButton.FontWeight" Value="{DynamicResource RadioButtonButtonFontWeight}" />
|
<Setter Property="FontWeight" Value="{DynamicResource RadioButtonButtonFontWeight}" />
|
||||||
<Setter Property="RadioButton.FontSize" Value="{DynamicResource RadioButtonButtonDefaultFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource RadioButtonButtonDefaultFontSize}" />
|
||||||
<Setter Property="RadioButton.Padding" Value="{DynamicResource RadioButtonButtonDefaultPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource RadioButtonButtonDefaultPadding}" />
|
||||||
<Setter Property="RadioButton.Foreground" Value="{DynamicResource RadioButtonButtonUncheckedForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource RadioButtonButtonUncheckedForeground}" />
|
||||||
<Setter Property="RadioButton.Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate TargetType="RadioButton">
|
<ControlTemplate TargetType="RadioButton">
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
x:Name="PART_ContentPresenter"
|
x:Name="PART_ContentPresenter"
|
||||||
@ -209,16 +214,16 @@
|
|||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme x:Key="CardRadioButton" TargetType="RadioButton">
|
<ControlTheme x:Key="CardRadioButton" TargetType="RadioButton">
|
||||||
<Setter Property="RadioButton.Padding" Value="{DynamicResource RadioButtonCardPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource RadioButtonCardPadding}" />
|
||||||
<Setter Property="RadioButton.BorderThickness" Value="1" />
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
<Setter Property="RadioButton.CornerRadius" Value="{DynamicResource RadioButtonCardCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource RadioButtonCardCornerRadius}" />
|
||||||
<Setter Property="RadioButton.Cursor" Value="Hand" />
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
<Setter Property="RadioButton.HorizontalAlignment" Value="Left" />
|
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||||
<Setter Property="RadioButton.VerticalAlignment" Value="Center" />
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
<Setter Property="RadioButton.HorizontalContentAlignment" Value="Left" />
|
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||||
<Setter Property="RadioButton.VerticalContentAlignment" Value="Center" />
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
<Setter Property="RadioButton.Background" Value="{DynamicResource RadioButtonCardDefaultBackground}" />
|
<Setter Property="Background" Value="{DynamicResource RadioButtonCardDefaultBackground}" />
|
||||||
<Setter Property="RadioButton.FontSize" Value="{DynamicResource RadioButtonFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource RadioButtonFontSize}" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate TargetType="RadioButton">
|
<ControlTemplate TargetType="RadioButton">
|
||||||
<Border
|
<Border
|
||||||
@ -377,14 +382,14 @@
|
|||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme x:Key="PureCardRadioButton" TargetType="RadioButton">
|
<ControlTheme x:Key="PureCardRadioButton" TargetType="RadioButton">
|
||||||
<Setter Property="RadioButton.CornerRadius" Value="{DynamicResource RadioButtonCardCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource RadioButtonCardCornerRadius}" />
|
||||||
<Setter Property="RadioButton.Cursor" Value="Hand" />
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
<Setter Property="RadioButton.VerticalContentAlignment" Value="Center" />
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
<Setter Property="RadioButton.BorderThickness" Value="1" />
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
<Setter Property="RadioButton.FontSize" Value="{DynamicResource RadioButtonFontSize}" />
|
<Setter Property="FontSize" Value="{DynamicResource RadioButtonFontSize}" />
|
||||||
<Setter Property="RadioButton.Padding" Value="{DynamicResource RadioButtonCardPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource RadioButtonCardPadding}" />
|
||||||
<Setter Property="RadioButton.Background" Value="{DynamicResource RadioButtonCardDefaultBackground}" />
|
<Setter Property="Background" Value="{DynamicResource RadioButtonCardDefaultBackground}" />
|
||||||
<Setter Property="RadioButton.Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate TargetType="RadioButton">
|
<ControlTemplate TargetType="RadioButton">
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
x:Name="PART_ContentPresenter"
|
x:Name="PART_ContentPresenter"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user