|
|
@ -1,6 +1,7 @@ |
|
|
<ResourceDictionary xmlns="https://github.com/avaloniaui" |
|
|
<ResourceDictionary 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> |
|
|
<Design.PreviewWith> |
|
|
<Border Padding="20"> |
|
|
<Border Padding="20"> |
|
|
<StackPanel Orientation="Vertical" Spacing="20" Width="350" Height="600"> |
|
|
<StackPanel Orientation="Vertical" Spacing="20" Width="350" Height="600"> |
|
|
@ -44,45 +45,59 @@ |
|
|
</Border> |
|
|
</Border> |
|
|
</Design.PreviewWith> |
|
|
</Design.PreviewWith> |
|
|
|
|
|
|
|
|
<Thickness x:Key="ExpanderHeaderPadding">16</Thickness> |
|
|
<!-- Shared header/content --> |
|
|
|
|
|
<x:Double x:Key="ExpanderMinHeight">48</x:Double> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Header --> |
|
|
|
|
|
<HorizontalAlignment x:Key="ExpanderHeaderHorizontalContentAlignment">Stretch</HorizontalAlignment> |
|
|
|
|
|
<VerticalAlignment x:Key="ExpanderHeaderVerticalContentAlignment">Center</VerticalAlignment> |
|
|
|
|
|
<Thickness x:Key="ExpanderHeaderPadding">16,0,0,0</Thickness> |
|
|
|
|
|
<Thickness x:Key="ExpanderHeaderBorderThickness">1</Thickness> |
|
|
|
|
|
<Thickness x:Key="ExpanderChevronBorderThickness">0</Thickness> |
|
|
|
|
|
<Thickness x:Key="ExpanderChevronMargin">20,0,8,0</Thickness> |
|
|
|
|
|
<x:Double x:Key="ExpanderChevronButtonSize">32</x:Double> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Content --> |
|
|
<Thickness x:Key="ExpanderContentPadding">16</Thickness> |
|
|
<Thickness x:Key="ExpanderContentPadding">16</Thickness> |
|
|
<Thickness x:Key="ExpanderBorderThickness">1</Thickness> |
|
|
<Thickness x:Key="ExpanderContentLeftBorderThickness">1,1,0,1</Thickness> |
|
|
<Thickness x:Key="ExpanderDropdownLeftBorderThickness">1,1,0,1</Thickness> |
|
|
<Thickness x:Key="ExpanderContentUpBorderThickness">1,1,1,0</Thickness> |
|
|
<Thickness x:Key="ExpanderDropdownUpBorderThickness">1,1,1,0</Thickness> |
|
|
<Thickness x:Key="ExpanderContentRightBorderThickness">0,1,1,1</Thickness> |
|
|
<Thickness x:Key="ExpanderDropdownRightBorderThickness">0,1,1,1</Thickness> |
|
|
<Thickness x:Key="ExpanderContentDownBorderThickness">1,0,1,1</Thickness> |
|
|
<Thickness x:Key="ExpanderDropdownDownBorderThickness">1,0,1,1</Thickness> |
|
|
|
|
|
<SolidColorBrush x:Key="ExpanderBackground" Color="{DynamicResource SystemAltMediumHighColor}" /> |
|
|
|
|
|
<SolidColorBrush x:Key="ExpanderBorderBrush" Color="{DynamicResource SystemBaseLowColor}" /> |
|
|
|
|
|
<SolidColorBrush x:Key="ExpanderDropDownBackground" Color="{DynamicResource SystemChromeMediumLowColor}" /> |
|
|
|
|
|
<SolidColorBrush x:Key="ExpanderDropDownBorderBrush" Color="{DynamicResource SystemBaseLowColor}" /> |
|
|
|
|
|
<SolidColorBrush x:Key="ExpanderForeground" Color="{DynamicResource SystemBaseHighColor}" /> |
|
|
|
|
|
<SolidColorBrush x:Key="ExpanderChevronForeground" Color="{DynamicResource SystemBaseHighColor}" /> |
|
|
|
|
|
|
|
|
|
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonTheme" TargetType="ToggleButton"> |
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonTheme" TargetType="ToggleButton"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderHeaderBackground}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderHeaderBorderBrush}" /> |
|
|
|
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderHeaderBorderThickness}" /> |
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource ExpanderHeaderForeground}" /> |
|
|
|
|
|
<Setter Property="Padding" Value="{StaticResource ExpanderHeaderPadding}" /> |
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Stretch" /> |
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="{StaticResource ExpanderHeaderHorizontalContentAlignment}" /> |
|
|
|
|
|
<Setter Property="VerticalContentAlignment" Value="{StaticResource ExpanderHeaderVerticalContentAlignment}" /> |
|
|
<Setter Property="Template"> |
|
|
<Setter Property="Template"> |
|
|
<ControlTemplate> |
|
|
<ControlTemplate> |
|
|
<Border x:Name="ToggleButtonBackground" |
|
|
<Border x:Name="ToggleButtonBackground" |
|
|
|
|
|
CornerRadius="{TemplateBinding CornerRadius}" |
|
|
Background="{TemplateBinding Background}" |
|
|
Background="{TemplateBinding Background}" |
|
|
BorderBrush="{TemplateBinding BorderBrush}" |
|
|
BorderBrush="{TemplateBinding BorderBrush}" |
|
|
CornerRadius="{TemplateBinding CornerRadius}" |
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"> |
|
|
BorderThickness="{TemplateBinding BorderThickness}"> |
|
|
<Grid ColumnDefinitions="*,Auto"> |
|
|
<Grid x:Name="ToggleButtonGrid" |
|
|
|
|
|
ColumnDefinitions="*,Auto"> |
|
|
<ContentPresenter x:Name="PART_ContentPresenter" |
|
|
<ContentPresenter x:Name="PART_ContentPresenter" |
|
|
Margin="{TemplateBinding Padding}" |
|
|
|
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
|
|
VerticalContentAlignment="Center" |
|
|
|
|
|
Background="Transparent" |
|
|
|
|
|
BorderBrush="Transparent" |
|
|
|
|
|
BorderThickness="0" |
|
|
|
|
|
Content="{TemplateBinding Content}" |
|
|
Content="{TemplateBinding Content}" |
|
|
ContentTemplate="{TemplateBinding ContentTemplate}" |
|
|
ContentTemplate="{TemplateBinding ContentTemplate}" |
|
|
Foreground="{DynamicResource ExpanderForeground}" /> |
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
|
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|
|
|
|
|
Foreground="{TemplateBinding Foreground}" |
|
|
|
|
|
Margin="{TemplateBinding Padding}"/> |
|
|
<Border x:Name="ExpandCollapseChevronBorder" |
|
|
<Border x:Name="ExpandCollapseChevronBorder" |
|
|
Grid.Column="1" |
|
|
Grid.Column="1" |
|
|
Width="32" |
|
|
Width="{DynamicResource ExpanderChevronButtonSize}" |
|
|
Height="32" |
|
|
Height="{DynamicResource ExpanderChevronButtonSize}" |
|
|
Margin="7" |
|
|
Margin="{DynamicResource ExpanderChevronMargin}" |
|
|
RenderTransformOrigin="50%,50%"> |
|
|
CornerRadius="{DynamicResource ControlCornerRadius}" |
|
|
|
|
|
BorderBrush="{DynamicResource ExpanderChevronBorderBrush}" |
|
|
|
|
|
BorderThickness="{DynamicResource ExpanderChevronBorderThickness}" |
|
|
|
|
|
Background="{DynamicResource ExpanderChevronBackground}"> |
|
|
<Path x:Name="ExpandCollapseChevron" |
|
|
<Path x:Name="ExpandCollapseChevron" |
|
|
HorizontalAlignment="Center" |
|
|
HorizontalAlignment="Center" |
|
|
VerticalAlignment="Center" |
|
|
VerticalAlignment="Center" |
|
|
@ -98,6 +113,7 @@ |
|
|
</Border> |
|
|
</Border> |
|
|
</ControlTemplate> |
|
|
</ControlTemplate> |
|
|
</Setter> |
|
|
</Setter> |
|
|
|
|
|
|
|
|
<Style Selector="^:checked /template/ Border#ExpandCollapseChevronBorder"> |
|
|
<Style Selector="^:checked /template/ Border#ExpandCollapseChevronBorder"> |
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation FillMode="Both" Duration="0:0:0.0625"> |
|
|
<Animation FillMode="Both" Duration="0:0:0.0625"> |
|
|
@ -107,6 +123,7 @@ |
|
|
</Animation> |
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
<Style Selector="^:not(:checked) /template/ Border#ExpandCollapseChevronBorder"> |
|
|
<Style Selector="^:not(:checked) /template/ Border#ExpandCollapseChevronBorder"> |
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation FillMode="Both" Duration="0:0:0.0625"> |
|
|
<Animation FillMode="Both" Duration="0:0:0.0625"> |
|
|
@ -119,60 +136,118 @@ |
|
|
</Animation> |
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
|
|
|
<!-- PointerOver --> |
|
|
|
|
|
<Style Selector="^:pointerover /template/ Border#ToggleButtonBackground"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderHeaderBackgroundPointerOver}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderHeaderBorderBrushPointerOver}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:pointerover /template/ ContentPresenter#PART_ContentPresenter"> |
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource ExpanderHeaderForegroundPointerOver}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:pointerover /template/ Border#ExpandCollapseChevronBorder"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderChevronBackgroundPointerOver}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderChevronBorderBrushPointerOver}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:pointerover /template/ Path#ExpandCollapseChevron"> |
|
|
|
|
|
<Setter Property="Stroke" Value="{DynamicResource ExpanderChevronForegroundPointerOver}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Pressed --> |
|
|
|
|
|
<Style Selector="^:pressed /template/ Border#ToggleButtonBackground"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderHeaderBackgroundPressed}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderHeaderBorderBrushPressed}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:pressed /template/ ContentPresenter#PART_ContentPresenter"> |
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource ExpanderHeaderForegroundPressed}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:pressed /template/ Border#ExpandCollapseChevronBorder"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderChevronBackgroundPressed}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderChevronBorderBrushPressed}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:pressed /template/ Path#ExpandCollapseChevron"> |
|
|
|
|
|
<Setter Property="Stroke" Value="{DynamicResource ExpanderChevronForegroundPressed}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Disabled --> |
|
|
|
|
|
<Style Selector="^:disabled /template/ Border#ToggleButtonBackground"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderHeaderBackgroundDisabled}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderHeaderBorderBrushDisabled}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:disabled /template/ ContentPresenter#PART_ContentPresenter"> |
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource ExpanderHeaderForegroundDisabled}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:disabled /template/ Border#ExpandCollapseChevronBorder"> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderChevronBackgroundDisabled}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderChevronBorderBrushDisabled}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="^:disabled /template/ Path#ExpandCollapseChevron"> |
|
|
|
|
|
<Setter Property="Stroke" Value="{DynamicResource ExpanderChevronForegroundDisabled}" /> |
|
|
|
|
|
</Style> |
|
|
|
|
|
|
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
|
|
|
|
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonUpTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonUpTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Setter Property="Data" Value="M 0 7 L 7 0 L 14 7" /> |
|
|
<Setter Property="Data" Value="M 0 7 L 7 0 L 14 7" /> |
|
|
</Style> |
|
|
</Style> |
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
|
|
|
|
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonDownTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonDownTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Setter Property="Data" Value="M 0 0 L 7 7 L 14 0" /> |
|
|
<Setter Property="Data" Value="M 0 0 L 7 7 L 14 0" /> |
|
|
</Style> |
|
|
</Style> |
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
|
|
|
|
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonLeftTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonLeftTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Setter Property="Data" Value="M 7 0 L 0 7 L 7 14" /> |
|
|
<Setter Property="Data" Value="M 7 0 L 0 7 L 7 14" /> |
|
|
</Style> |
|
|
</Style> |
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
|
|
|
|
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonRightTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<ControlTheme x:Key="FluentExpanderToggleButtonRightTheme" TargetType="ToggleButton" BasedOn="{StaticResource FluentExpanderToggleButtonTheme}"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Style Selector="^ /template/ Path#ExpandCollapseChevron"> |
|
|
<Setter Property="Data" Value="M 0 0 L 7 7 L 0 14" /> |
|
|
<Setter Property="Data" Value="M 0 0 L 7 7 L 0 14" /> |
|
|
</Style> |
|
|
</Style> |
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
|
|
|
|
|
|
<ControlTheme x:Key="{x:Type Expander}" TargetType="Expander"> |
|
|
<ControlTheme x:Key="{x:Type Expander}" TargetType="Expander"> |
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderBackground}" /> |
|
|
<Setter Property="IsTabStop" Value="False"/> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderBorderThickness}" /> |
|
|
<Setter Property="MinWidth" Value="{DynamicResource FlyoutThemeMinWidth}" /> |
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderBorderBrush}" /> |
|
|
<Setter Property="MinHeight" Value="{StaticResource ExpanderMinHeight}" /> |
|
|
|
|
|
<Setter Property="Background" Value="{DynamicResource ExpanderContentBackground}" /> |
|
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ExpanderContentBorderBrush}" /> |
|
|
|
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderContentDownBorderThickness}" /> |
|
|
|
|
|
<Setter Property="Padding" Value="{StaticResource ExpanderContentPadding}" /> |
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Left" /> |
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center" /> |
|
|
<Setter Property="CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> |
|
|
<Setter Property="CornerRadius" Value="{DynamicResource ControlCornerRadius}" /> |
|
|
<Setter Property="Padding" Value="{DynamicResource ExpanderHeaderPadding}" /> |
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Stretch" /> |
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Left" /> |
|
|
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center" /> |
|
|
|
|
|
<Setter Property="Template"> |
|
|
<Setter Property="Template"> |
|
|
<ControlTemplate> |
|
|
<ControlTemplate> |
|
|
<DockPanel> |
|
|
<DockPanel MinWidth="{TemplateBinding MinWidth}" |
|
|
|
|
|
MaxWidth="{TemplateBinding MaxWidth}"> |
|
|
<ToggleButton x:Name="ExpanderHeader" |
|
|
<ToggleButton x:Name="ExpanderHeader" |
|
|
Padding="{TemplateBinding Padding}" |
|
|
MinHeight="{TemplateBinding MinHeight}" |
|
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}" |
|
|
CornerRadius="{TemplateBinding CornerRadius}" |
|
|
Background="{TemplateBinding Background}" |
|
|
IsEnabled="{TemplateBinding IsEnabled}" |
|
|
BorderBrush="{TemplateBinding BorderBrush}" |
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}" |
|
|
|
|
|
HorizontalContentAlignment="Stretch" |
|
|
|
|
|
Content="{TemplateBinding Header}" |
|
|
Content="{TemplateBinding Header}" |
|
|
ContentTemplate="{TemplateBinding HeaderTemplate}" |
|
|
ContentTemplate="{TemplateBinding HeaderTemplate}" |
|
|
IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" |
|
|
IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> |
|
|
IsEnabled="{TemplateBinding IsEnabled}"/> |
|
|
|
|
|
<Border x:Name="ExpanderContent" |
|
|
<Border x:Name="ExpanderContent" |
|
|
Padding="{DynamicResource ExpanderContentPadding}" |
|
|
IsVisible="{TemplateBinding IsExpanded, Mode=TwoWay}" |
|
|
Background="{DynamicResource ExpanderDropDownBackground}" |
|
|
Background="{TemplateBinding Background}" |
|
|
BorderBrush="{DynamicResource ExpanderDropDownBorderBrush}" |
|
|
BorderBrush="{TemplateBinding BorderBrush}" |
|
|
IsVisible="{TemplateBinding IsExpanded, Mode=TwoWay}"> |
|
|
BorderThickness="{TemplateBinding BorderThickness}" |
|
|
|
|
|
MinHeight="{TemplateBinding MinHeight}" |
|
|
|
|
|
HorizontalAlignment="Stretch" |
|
|
|
|
|
VerticalAlignment="Stretch" |
|
|
|
|
|
Padding="{TemplateBinding Padding}"> |
|
|
<ContentPresenter x:Name="PART_ContentPresenter" |
|
|
<ContentPresenter x:Name="PART_ContentPresenter" |
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
|
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|
|
|
|
|
Content="{TemplateBinding Content}" |
|
|
Content="{TemplateBinding Content}" |
|
|
ContentTemplate="{TemplateBinding ContentTemplate}" /> |
|
|
ContentTemplate="{TemplateBinding ContentTemplate}" |
|
|
|
|
|
Foreground="{TemplateBinding Foreground}" |
|
|
|
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
|
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" /> |
|
|
</Border> |
|
|
</Border> |
|
|
</DockPanel> |
|
|
</DockPanel> |
|
|
</ControlTemplate> |
|
|
</ControlTemplate> |
|
|
@ -241,16 +316,16 @@ |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
<Style Selector="^:left /template/ Border#ExpanderContent"> |
|
|
<Style Selector="^:left /template/ Border#ExpanderContent"> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderDropdownLeftBorderThickness}" /> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderContentLeftBorderThickness}" /> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="^:up /template/ Border#ExpanderContent"> |
|
|
<Style Selector="^:up /template/ Border#ExpanderContent"> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderDropdownUpBorderThickness}" /> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderContentUpBorderThickness}" /> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="^:right /template/ Border#ExpanderContent"> |
|
|
<Style Selector="^:right /template/ Border#ExpanderContent"> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderDropdownRightBorderThickness}" /> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderContentRightBorderThickness}" /> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="^:down /template/ Border#ExpanderContent"> |
|
|
<Style Selector="^:down /template/ Border#ExpanderContent"> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderDropdownDownBorderThickness}" /> |
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ExpanderContentDownBorderThickness}" /> |
|
|
</Style> |
|
|
</Style> |
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
</ResourceDictionary> |
|
|
</ResourceDictionary> |
|
|
|