12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <Styles
- xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:components="clr-namespace:InABox.Avalonia.Components">
-
- <Style Selector="components|DoubleBox">
- <Setter Property="BorderBrush" Value="{DynamicResource PrsTileBorder}" />
- <Setter Property="BorderThickness">
- <Setter.Value>
- <DynamicResource ResourceKey="PrsBorderThickness" />
- </Setter.Value>
- </Setter>
- <Setter Property="Background" Value="{DynamicResource PrsTileBackground}" />
- <Setter Property="Foreground" Value="{DynamicResource PrsTileForeground}" />
- <Setter Property="CornerRadius" Value="{DynamicResource PrsCornerRadius}" />
- <Setter Property="Margin" Value="{DynamicResource PrsControlSpacing}"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- </Style>
-
- <Style Selector="components|DoubleBox /template/ ContentPresenter#PART_ContentPresenter">
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Background" Value="{DynamicResource PrsTileBackground}" />
- <Setter Property="Foreground" Value="{DynamicResource PrsTileForeground}" />
- </Style>
-
- <Style Selector="components|DoubleBox:pointerover /template/ ContentPresenter#PART_ContentPresenter">
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Background" Value="{DynamicResource PrsTileBackground}" />
- <Setter Property="Foreground" Value="{DynamicResource PrsTileForeground}" />
- </Style>
-
- <Style Selector="components|DoubleBox /template/ Border#PART_BorderElement">
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="Background" Value="{DynamicResource PrsTileBackground}" />
- </Style>
-
- <Style Selector="components|DoubleBox:focus /template/ Border#PART_BorderElement">
- <Setter Property="BorderBrush" Value="{TemplateBinding BorderBrush}" />
- <Setter Property="BorderThickness" Value="{TemplateBinding BorderThickness}"/>
- <Setter Property="Background" Value="{TemplateBinding Background}" />
- </Style>
-
- </Styles>
|