110 lines
5.1 KiB
XML
110 lines
5.1 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:uc="clr-namespace:AuroraUIComponent.UserControls">
|
|
|
|
<Style TargetType="UserControl">
|
|
<Setter Property="Background" Value="{StaticResource MahApps.Brushes.Window.Background}"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyValue}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyValueString}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyComboBox}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyComboBoxOnOff}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyComboBoxNumber}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyValueCheckBox}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCNumericUpDown}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="Height" Value="30"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCKeyContentView}">
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
<Setter Property="KeyHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="KeyTextBgColor" Value="{DynamicResource Aurora.Brushes.Accent}"/>
|
|
<Setter Property="KeyBorderBrushColor" Value="Transparent"/>
|
|
<Setter Property="ValueTextBgColor" Value="IndianRed"/>
|
|
<Setter Property="ValueTextWidth" Value="1*"/>
|
|
<Setter Property="ValueHorizontalAlignment" Value="Center"/>
|
|
<Setter Property="UseFoldingButton" Value="False"/>
|
|
<Setter Property="UseFolding" Value="True"/>
|
|
<Setter Property="ValueBorderThickness" Value="2"/>
|
|
<Setter Property="ValueBorderBrushColor" Value="Transparent"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type uc:UCLedLight}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type uc:UCLedLightCustom3}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="Width" Value="30"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
</Style>
|
|
<Style TargetType="{x:Type uc:UCLedLightText}">
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="Margin" Value="1"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="MaxHeight" Value="50"/>
|
|
<Setter Property="KeyTextWidth" Value="1*"/>
|
|
</Style>
|
|
</ResourceDictionary> |