Files
BeWoPlaner/BeWo/Styles/ControlStyles/LabelStyles.xaml
Rene Evertz 94c3b00c32 DeveloperWindow
+ cleane Shortcuts
2026-06-10 15:41:31 +02:00

63 lines
2.8 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style x:Key="BaseLabel" TargetType="Label">
<Setter Property="IsEnabled" Value="True" />
<Setter Property="Margin" Value="3" />
<Setter Property="Padding" Value="3" />
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="TextElement.Foreground" Value="#FF000000" />
</Style>
<Style x:Key="Header1" TargetType="Label">
<Setter Property="TextElement.FontSize" Value="16" />
<Setter Property="TextElement.Foreground" Value="{StaticResource TabItemHotTextBrush}" />
<Setter Property="TextElement.FontFamily" Value="Microsoft Sans Serif" />
<Setter Property="Padding" Value="3,0,3,0" />
<Setter Property="MinHeight" Value="20" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Margin" Value="3,-6,3,6" />
</Style>
<Style
x:Key="PopupWhiteLabel"
BasedOn="{StaticResource BaseLabel}"
TargetType="Label">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundPrimary}" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontWeight" Value="Medium" />
<Setter Property="FontSize" Value="12" />
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundSecondary}" />
</Trigger>
</Style.Triggers>
</Style>
<Style
x:Key="PopupBlackLabel"
BasedOn="{StaticResource BaseLabel}"
TargetType="Label">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundDarkPrimary}" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontWeight" Value="Medium" />
<Setter Property="FontSize" Value="12" />
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundDarkSecondary}" />
</Trigger>
</Style.Triggers>
</Style>
<Style
x:Key="PopupBlackLabel2"
BasedOn="{StaticResource BaseLabel}"
TargetType="Label">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundDarkPrimary}" />
<Setter Property="HorizontalAlignment" Value="Right" />
<Setter Property="VerticalAlignment" Value="Center" />
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundDarkSecondary}" />
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary>