feat: adjust the rest of PathIcon.
This commit is contained in:
parent
904b7caa75
commit
bc050308fc
@ -7,16 +7,30 @@
|
|||||||
d:DesignHeight="450"
|
d:DesignHeight="450"
|
||||||
d:DesignWidth="800"
|
d:DesignWidth="800"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<StackPanel HorizontalAlignment="Left" >
|
<StackPanel HorizontalAlignment="Left">
|
||||||
<TextBlock Text="Size"></TextBlock>
|
<StackPanel Orientation="Horizontal">
|
||||||
<Slider Name="width" Minimum="0" Maximum="100" Value="20" Width="300"></Slider>
|
<StackPanel.Styles>
|
||||||
<ToggleSwitch Name="active" Content="Active"></ToggleSwitch>
|
<Style Selector="PathIcon">
|
||||||
|
<Setter Property="Theme" Value="{DynamicResource InnerPathIcon}" />
|
||||||
|
<Setter Property="Data" Value="M10.5 2C5.80558 2 2 5.80558 2 10.5C2 15.1944 5.80558 19 10.5 19C12.3054 19 13.9794 18.4371 15.356 17.4773L19.4393 21.5606C20.0251 22.1464 20.9749 22.1464 21.5606 21.5606C22.1464 20.9749 22.1464 20.0251 21.5606 19.4393L17.4773 15.356C18.4371 13.9794 19 12.3054 19 10.5C19 5.80558 15.1944 2 10.5 2ZM5 10.5C5 7.46243 7.46243 5 10.5 5C13.5376 5 16 7.46243 16 10.5C16 13.5376 13.5376 16 10.5 16C7.46243 16 5 13.5376 5 10.5Z" />
|
||||||
|
</Style>
|
||||||
|
</StackPanel.Styles>
|
||||||
|
<PathIcon Classes="ExtraSmall" />
|
||||||
|
<PathIcon Classes="Small" />
|
||||||
|
<PathIcon />
|
||||||
|
<PathIcon Classes="Large" />
|
||||||
|
<PathIcon Classes="ExtraLarge" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<TextBlock Text="Size" />
|
||||||
|
<Slider Name="width" Minimum="0" Maximum="100" Value="20" Width="300" />
|
||||||
|
<ToggleSwitch Name="active" Content="Active" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Classes.Active="{Binding ElementName=active, Path=IsChecked}"
|
Classes.Active="{Binding #active.IsChecked}"
|
||||||
BorderBrush="{DynamicResource SemiRed6}"
|
|
||||||
Width="{Binding #width.Value}"
|
Width="{Binding #width.Value}"
|
||||||
Height="{Binding #width.Value}"
|
Height="{Binding #width.Value}"
|
||||||
Data="M12 3L2 12H5V20H19V12H22L12 3M13 18H11V16H13V18M13 14H11V8H13V14Z"
|
Foreground="{DynamicResource SemiBlue6}"
|
||||||
Foreground="{DynamicResource SemiBlue6}" />
|
BorderBrush="{DynamicResource SemiRed6}"
|
||||||
|
Data="M12 3L2 12H5V20H19V12H22L12 3M13 18H11V16H13V18M13 14H11V8H13V14Z" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</UserControl>
|
</UserControl>
|
@ -73,8 +73,8 @@
|
|||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Theme="{StaticResource ButtonSpinnerRepeatButton}">
|
Theme="{StaticResource ButtonSpinnerRepeatButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="8"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="8"
|
Classes="ExtraSmall"
|
||||||
Data="{DynamicResource ButtonSpinnerIncreaseButtonGlyph}"
|
Data="{DynamicResource ButtonSpinnerIncreaseButtonGlyph}"
|
||||||
Foreground="{DynamicResource ButtonSpinnerRepeatButtonForeground}" />
|
Foreground="{DynamicResource ButtonSpinnerRepeatButtonForeground}" />
|
||||||
</RepeatButton>
|
</RepeatButton>
|
||||||
@ -83,8 +83,8 @@
|
|||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Theme="{StaticResource ButtonSpinnerRepeatButton}">
|
Theme="{StaticResource ButtonSpinnerRepeatButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="8"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="8"
|
Classes="ExtraSmall"
|
||||||
Data="{DynamicResource ButtonSpinnerDecreaseButtonGlyph}"
|
Data="{DynamicResource ButtonSpinnerDecreaseButtonGlyph}"
|
||||||
Foreground="{DynamicResource ButtonSpinnerRepeatButtonForeground}" />
|
Foreground="{DynamicResource ButtonSpinnerRepeatButtonForeground}" />
|
||||||
</RepeatButton>
|
</RepeatButton>
|
||||||
|
@ -65,8 +65,8 @@
|
|||||||
Foreground="{TemplateBinding Foreground}"
|
Foreground="{TemplateBinding Foreground}"
|
||||||
Theme="{DynamicResource BorderlessButton}">
|
Theme="{DynamicResource BorderlessButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
Classes="Large"
|
||||||
Data="{DynamicResource CalendarItemPreviousIconGlyph}"
|
Data="{DynamicResource CalendarItemPreviousIconGlyph}"
|
||||||
Foreground="{DynamicResource CalendarItemIconForeground}" />
|
Foreground="{DynamicResource CalendarItemIconForeground}" />
|
||||||
</Button>
|
</Button>
|
||||||
@ -85,8 +85,8 @@
|
|||||||
Foreground="{TemplateBinding Foreground}"
|
Foreground="{TemplateBinding Foreground}"
|
||||||
Theme="{DynamicResource BorderlessButton}">
|
Theme="{DynamicResource BorderlessButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
Classes="Large"
|
||||||
Data="{DynamicResource CalendarItemNextIconGlyph}"
|
Data="{DynamicResource CalendarItemNextIconGlyph}"
|
||||||
Foreground="{DynamicResource CalendarItemIconForeground}" />
|
Foreground="{DynamicResource CalendarItemIconForeground}" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
xmlns="https://github.com/avaloniaui"
|
xmlns="https://github.com/avaloniaui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
x:CompileBindings="True">
|
x:CompileBindings="True">
|
||||||
|
<Design.PreviewWith>
|
||||||
|
<CaptionButtons />
|
||||||
|
</Design.PreviewWith>
|
||||||
<ControlTheme x:Key="CaptionButton" TargetType="Button">
|
<ControlTheme x:Key="CaptionButton" TargetType="Button">
|
||||||
<Setter Property="Background" Value="{DynamicResource CaptionButtonPointeroverBackground}" />
|
<Setter Property="Background" Value="{DynamicResource CaptionButtonPointeroverBackground}" />
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CaptionButtonPressedBackground}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CaptionButtonPressedBackground}" />
|
||||||
@ -46,23 +49,20 @@
|
|||||||
<Button Name="PART_FullScreenButton" Theme="{StaticResource CaptionButton}">
|
<Button Name="PART_FullScreenButton" Theme="{StaticResource CaptionButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="PART_FullScreenButtonIcon"
|
Name="PART_FullScreenButtonIcon"
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
|
||||||
Data="{DynamicResource WindowExpandGlyph}"
|
Data="{DynamicResource WindowExpandGlyph}"
|
||||||
Foreground="{Binding $parent[Button].Foreground}" />
|
Foreground="{Binding $parent[Button].Foreground}" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button Name="PART_MinimizeButton" Theme="{StaticResource CaptionButton}">
|
<Button Name="PART_MinimizeButton" Theme="{StaticResource CaptionButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
|
||||||
Data="{DynamicResource WindowMinimizeGlyph}"
|
Data="{DynamicResource WindowMinimizeGlyph}"
|
||||||
Foreground="{Binding $parent[Button].Foreground}" />
|
Foreground="{Binding $parent[Button].Foreground}" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button Name="PART_RestoreButton" Theme="{StaticResource CaptionButton}">
|
<Button Name="PART_RestoreButton" Theme="{StaticResource CaptionButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="PART_RestoreButtonIcon"
|
Name="PART_RestoreButtonIcon"
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
|
||||||
Data="{DynamicResource WindowMaximizeGlyph}"
|
Data="{DynamicResource WindowMaximizeGlyph}"
|
||||||
Foreground="{Binding $parent[Button].Foreground}" />
|
Foreground="{Binding $parent[Button].Foreground}" />
|
||||||
</Button>
|
</Button>
|
||||||
@ -80,8 +80,7 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</Button.Styles>
|
</Button.Styles>
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
|
||||||
Data="{DynamicResource WindowCloseIconGlyph}"
|
Data="{DynamicResource WindowCloseIconGlyph}"
|
||||||
Foreground="{Binding $parent[Button].Foreground}" />
|
Foreground="{Binding $parent[Button].Foreground}" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -126,8 +126,9 @@
|
|||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Grid Background="Transparent">
|
<Grid Background="Transparent">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="24"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="24"
|
Width="32"
|
||||||
|
Height="32"
|
||||||
Data="{DynamicResource CarouselButtonGlyph}"
|
Data="{DynamicResource CarouselButtonGlyph}"
|
||||||
Foreground="{TemplateBinding Foreground}" />
|
Foreground="{TemplateBinding Foreground}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="CheckGlyph"
|
Name="CheckGlyph"
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
||||||
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
||||||
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
||||||
@ -217,6 +218,7 @@
|
|||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="CheckGlyph"
|
Name="CheckGlyph"
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
||||||
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
||||||
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
||||||
@ -368,6 +370,7 @@
|
|||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="CheckGlyph"
|
Name="CheckGlyph"
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
||||||
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
||||||
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
||||||
|
@ -107,7 +107,6 @@
|
|||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
FontSize="16"
|
|
||||||
Theme="{StaticResource DateTimePickerButton}">
|
Theme="{StaticResource DateTimePickerButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Width="12"
|
||||||
@ -222,8 +221,7 @@
|
|||||||
<PathIcon
|
<PathIcon
|
||||||
Name="PART_Icon"
|
Name="PART_Icon"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Width="16"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="16"
|
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
Data="{DynamicResource DatePickerIconGlyph}"
|
Data="{DynamicResource DatePickerIconGlyph}"
|
||||||
Foreground="{DynamicResource DateTimePickerIconForeground}" />
|
Foreground="{DynamicResource DateTimePickerIconForeground}" />
|
||||||
@ -242,11 +240,11 @@
|
|||||||
<Button
|
<Button
|
||||||
Name="ClearButton"
|
Name="ClearButton"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
|
Theme="{DynamicResource InnerIconButton}"
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
Command="{Binding $parent[DatePicker].Clear}"
|
Command="{Binding $parent[DatePicker].Clear}"
|
||||||
Content="{DynamicResource IconButtonClearData}"
|
Content="{DynamicResource IconButtonClearData}"
|
||||||
IsVisible="False"
|
IsVisible="False" />
|
||||||
Theme="{DynamicResource InnerIconButton}" />
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataValidationErrors>
|
</DataValidationErrors>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
@ -43,8 +43,7 @@
|
|||||||
<PathIcon
|
<PathIcon
|
||||||
Name="DropDownGlyph"
|
Name="DropDownGlyph"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
|
@ -572,6 +572,7 @@
|
|||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="CheckGlyph"
|
Name="CheckGlyph"
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
||||||
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
||||||
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
||||||
@ -750,6 +751,7 @@
|
|||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="CheckGlyph"
|
Name="CheckGlyph"
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
Width="{DynamicResource CheckBoxBoxGlyphWidth}"
|
||||||
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
Height="{DynamicResource CheckBoxBoxGlyphHeight}"
|
||||||
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
Foreground="{DynamicResource CheckBoxGlyphFill}" />
|
||||||
|
@ -38,8 +38,7 @@
|
|||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<StackPanel Orientation="Horizontal" Spacing="4">
|
<StackPanel Orientation="Horizontal" Spacing="4">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="16"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="16"
|
|
||||||
Data="{Binding IconKey, Converter={StaticResource Icons}}"
|
Data="{Binding IconKey, Converter={StaticResource Icons}}"
|
||||||
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
||||||
<TextBlock Foreground="{DynamicResource ManagedFileChooserTextForeground}" Text="{Binding DisplayName}" />
|
<TextBlock Foreground="{DynamicResource ManagedFileChooserTextForeground}" Text="{Binding DisplayName}" />
|
||||||
@ -58,8 +57,7 @@
|
|||||||
DockPanel.Dock="Left"
|
DockPanel.Dock="Left"
|
||||||
Theme="{DynamicResource BorderlessButton}">
|
Theme="{DynamicResource BorderlessButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="16"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="16"
|
|
||||||
Data="{DynamicResource ManagedFileChooserUpButtonGlyph}"
|
Data="{DynamicResource ManagedFileChooserUpButtonGlyph}"
|
||||||
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
||||||
</Button>
|
</Button>
|
||||||
@ -159,8 +157,7 @@
|
|||||||
<ColumnDefinition SharedSizeGroup="Size" />
|
<ColumnDefinition SharedSizeGroup="Size" />
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="16"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="16"
|
|
||||||
Data="{Binding IconKey, Converter={StaticResource Icons}}"
|
Data="{Binding IconKey, Converter={StaticResource Icons}}"
|
||||||
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
|
@ -40,8 +40,7 @@
|
|||||||
</MultiBinding>
|
</MultiBinding>
|
||||||
</RepeatButton.IsVisible>
|
</RepeatButton.IsVisible>
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="8"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="8"
|
|
||||||
Data="{DynamicResource MenuScrollViewerUpButtonGlyph}"
|
Data="{DynamicResource MenuScrollViewerUpButtonGlyph}"
|
||||||
Foreground="{DynamicResource MenuFlyoutScrollViewerIconForeground}" />
|
Foreground="{DynamicResource MenuFlyoutScrollViewerIconForeground}" />
|
||||||
</RepeatButton>
|
</RepeatButton>
|
||||||
@ -66,8 +65,7 @@
|
|||||||
</MultiBinding>
|
</MultiBinding>
|
||||||
</RepeatButton.IsVisible>
|
</RepeatButton.IsVisible>
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="8"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="8"
|
|
||||||
Data="{DynamicResource MenuScrollViewerDownButtonGlyph}"
|
Data="{DynamicResource MenuScrollViewerDownButtonGlyph}"
|
||||||
Foreground="{DynamicResource MenuFlyoutScrollViewerIconForeground}" />
|
Foreground="{DynamicResource MenuFlyoutScrollViewerIconForeground}" />
|
||||||
</RepeatButton>
|
</RepeatButton>
|
||||||
@ -184,8 +182,7 @@
|
|||||||
<PathIcon
|
<PathIcon
|
||||||
Name="PART_ExpandIcon"
|
Name="PART_ExpandIcon"
|
||||||
Grid.Column="4"
|
Grid.Column="4"
|
||||||
Width="8"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="8"
|
|
||||||
Margin="{DynamicResource MenuItemExpandIconMargin}"
|
Margin="{DynamicResource MenuItemExpandIconMargin}"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Data="{DynamicResource MenuItemExpandIconGlyph}"
|
Data="{DynamicResource MenuItemExpandIconGlyph}"
|
||||||
@ -283,6 +280,7 @@
|
|||||||
<Setter Property="Content">
|
<Setter Property="Content">
|
||||||
<Template>
|
<Template>
|
||||||
<PathIcon
|
<PathIcon
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Foreground="{Binding $parent[MenuItem].Foreground}"
|
Foreground="{Binding $parent[MenuItem].Foreground}"
|
||||||
Data="{StaticResource MenuCheckGlyph}" />
|
Data="{StaticResource MenuCheckGlyph}" />
|
||||||
</Template>
|
</Template>
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
<DockPanel MinWidth="{DynamicResource NotificationCardMinWidth}">
|
<DockPanel MinWidth="{DynamicResource NotificationCardMinWidth}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Name="NotificationIcon"
|
Name="NotificationIcon"
|
||||||
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Width="{DynamicResource NotificationCardIconWidth}"
|
Width="{DynamicResource NotificationCardIconWidth}"
|
||||||
Height="{DynamicResource NotificationCardIconHeight}"
|
Height="{DynamicResource NotificationCardIconHeight}"
|
||||||
Margin="{DynamicResource NotificationCardIconMargin}"
|
Margin="{DynamicResource NotificationCardIconMargin}"
|
||||||
|
@ -47,5 +47,21 @@
|
|||||||
<Style Selector="^.Active /template/ Path#PART_Path">
|
<Style Selector="^.Active /template/ Path#PART_Path">
|
||||||
<Setter Property="Fill" Value="{TemplateBinding BorderBrush}" />
|
<Setter Property="Fill" Value="{TemplateBinding BorderBrush}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
<Style Selector="^.ExtraSmall">
|
||||||
|
<Setter Property="Height" Value="8" />
|
||||||
|
<Setter Property="Width" Value="8" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="^.Small">
|
||||||
|
<Setter Property="Height" Value="12" />
|
||||||
|
<Setter Property="Width" Value="12" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="^.Large">
|
||||||
|
<Setter Property="Height" Value="20" />
|
||||||
|
<Setter Property="Width" Value="20" />
|
||||||
|
</Style>
|
||||||
|
<Style Selector="^.ExtraLarge">
|
||||||
|
<Setter Property="Height" Value="24" />
|
||||||
|
<Setter Property="Width" Value="24" />
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
@ -91,7 +91,7 @@
|
|||||||
Width="{DynamicResource SplitButtonSeparatorWidth}"
|
Width="{DynamicResource SplitButtonSeparatorWidth}"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
DockPanel.Dock="Left"
|
DockPanel.Dock="Left"
|
||||||
Fill="{TemplateBinding BorderBrush}"
|
Fill="Transparent"
|
||||||
StrokeThickness="0" />
|
StrokeThickness="0" />
|
||||||
<Button
|
<Button
|
||||||
Name="PART_SecondaryButton"
|
Name="PART_SecondaryButton"
|
||||||
@ -103,8 +103,7 @@
|
|||||||
CornerRadius="0"
|
CornerRadius="0"
|
||||||
Theme="{DynamicResource SemiSplitButtonElement}">
|
Theme="{DynamicResource SemiSplitButtonElement}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="12"
|
|
||||||
Data="{DynamicResource SplitButtonIconGlyph}"
|
Data="{DynamicResource SplitButtonIconGlyph}"
|
||||||
Foreground="{Binding $parent[Button].Foreground}" />
|
Foreground="{Binding $parent[Button].Foreground}" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -280,8 +280,7 @@
|
|||||||
<PathIcon
|
<PathIcon
|
||||||
Name="PART_Icon"
|
Name="PART_Icon"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Width="16"
|
Theme="{DynamicResource InnerPathIcon}"
|
||||||
Height="16"
|
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
Data="{DynamicResource TimePickerIconGlyph}"
|
Data="{DynamicResource TimePickerIconGlyph}"
|
||||||
Foreground="{DynamicResource DateTimePickerIconForeground}" />
|
Foreground="{DynamicResource DateTimePickerIconForeground}" />
|
||||||
@ -303,11 +302,11 @@
|
|||||||
<Button
|
<Button
|
||||||
Name="ClearButton"
|
Name="ClearButton"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
|
Theme="{DynamicResource InnerIconButton}"
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
Command="{Binding $parent[TimePicker].Clear}"
|
Command="{Binding $parent[TimePicker].Clear}"
|
||||||
Content="{DynamicResource IconButtonClearData}"
|
Content="{DynamicResource IconButtonClearData}"
|
||||||
IsVisible="False"
|
IsVisible="False" />
|
||||||
Theme="{DynamicResource InnerIconButton}" />
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataValidationErrors>
|
</DataValidationErrors>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
<Thickness x:Key="CheckBoxBoxMargin">0 2 0 0</Thickness>
|
<Thickness x:Key="CheckBoxBoxMargin">0 2 0 0</Thickness>
|
||||||
<Thickness x:Key="CheckBoxContentMargin">8 0 0 0</Thickness>
|
<Thickness x:Key="CheckBoxContentMargin">8 0 0 0</Thickness>
|
||||||
|
|
||||||
<x:Double x:Key="CheckBoxBoxGlyphWidth">10</x:Double>
|
<x:Double x:Key="CheckBoxBoxGlyphWidth">16</x:Double>
|
||||||
<x:Double x:Key="CheckBoxBoxGlyphHeight">10</x:Double>
|
<x:Double x:Key="CheckBoxBoxGlyphHeight">16</x:Double>
|
||||||
|
|
||||||
<CornerRadius x:Key="CheckBoxBoxCornerRadius">3</CornerRadius>
|
<CornerRadius x:Key="CheckBoxBoxCornerRadius">3</CornerRadius>
|
||||||
<Thickness x:Key="CheckBoxBoxBorderThickness">1</Thickness>
|
<Thickness x:Key="CheckBoxBoxBorderThickness">1</Thickness>
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
<Thickness x:Key="NotificationCardMargin">8</Thickness>
|
<Thickness x:Key="NotificationCardMargin">8</Thickness>
|
||||||
<Thickness x:Key="NotificationCardPadding">20 16 12 16</Thickness>
|
<Thickness x:Key="NotificationCardPadding">20 16 12 16</Thickness>
|
||||||
|
|
||||||
<x:Double x:Key="NotificationCardIconWidth">18</x:Double>
|
<x:Double x:Key="NotificationCardIconWidth">20</x:Double>
|
||||||
<x:Double x:Key="NotificationCardIconHeight">18</x:Double>
|
<x:Double x:Key="NotificationCardIconHeight">20</x:Double>
|
||||||
<Thickness x:Key="NotificationCardIconMargin">0 0 12 0</Thickness>
|
<Thickness x:Key="NotificationCardIconMargin">0 0 12 0</Thickness>
|
||||||
<StreamGeometry x:Key="NotificationCardInformationIconPathData">M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM14 7C14 8.10457 13.1046 9 12 9C10.8954 9 10 8.10457 10 7C10 5.89543 10.8954 5 12 5C13.1046 5 14 5.89543 14 7ZM9 10.75C9 10.3358 9.33579 10 9.75 10H12.5C13.0523 10 13.5 10.4477 13.5 11V16.5H14.25C14.6642 16.5 15 16.8358 15 17.25C15 17.6642 14.6642 18 14.25 18H9.75C9.33579 18 9 17.6642 9 17.25C9 16.8358 9.33579 16.5 9.75 16.5H10.5V11.5H9.75C9.33579 11.5 9 11.1642 9 10.75Z</StreamGeometry>
|
<StreamGeometry x:Key="NotificationCardInformationIconPathData">M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM14 7C14 8.10457 13.1046 9 12 9C10.8954 9 10 8.10457 10 7C10 5.89543 10.8954 5 12 5C13.1046 5 14 5.89543 14 7ZM9 10.75C9 10.3358 9.33579 10 9.75 10H12.5C13.0523 10 13.5 10.4477 13.5 11V16.5H14.25C14.6642 16.5 15 16.8358 15 17.25C15 17.6642 14.6642 18 14.25 18H9.75C9.33579 18 9 17.6642 9 17.25C9 16.8358 9.33579 16.5 9.75 16.5H10.5V11.5H9.75C9.33579 11.5 9 11.1642 9 10.75Z</StreamGeometry>
|
||||||
<StreamGeometry x:Key="NotificationCardSuccessIconPathData">M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM17.8831 9.82235L11.6854 17.4112C11.4029 17.7806 10.965 17.9981 10.5 18C10.035 18.0019 9.59533 17.788 9.30982 17.421L5.81604 13.4209C5.30744 12.767 5.42524 11.8246 6.07916 11.316C6.73308 10.8074 7.67549 10.9252 8.1841 11.5791L10.4838 14.0439L15.5 8C16.0032 7.34193 16.9446 7.21641 17.6027 7.71964C18.2608 8.22287 18.3863 9.16428 17.8831 9.82235Z</StreamGeometry>
|
<StreamGeometry x:Key="NotificationCardSuccessIconPathData">M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM17.8831 9.82235L11.6854 17.4112C11.4029 17.7806 10.965 17.9981 10.5 18C10.035 18.0019 9.59533 17.788 9.30982 17.421L5.81604 13.4209C5.30744 12.767 5.42524 11.8246 6.07916 11.316C6.73308 10.8074 7.67549 10.9252 8.1841 11.5791L10.4838 14.0439L15.5 8C16.0032 7.34193 16.9446 7.21641 17.6027 7.71964C18.2608 8.22287 18.3863 9.16428 17.8831 9.82235Z</StreamGeometry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user