19 lines
882 B
XML
19 lines
882 B
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<Style x:Key="LabelInfo" TargetType="{x:Type Label}">
|
|
<Setter Property="Margin" Value="0,32,16,0"/>
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="Background" Value="{DynamicResource PrimaryBrush}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Label}">
|
|
<Border CornerRadius="4" Background="{TemplateBinding Background}">
|
|
<TextBlock Foreground="White" Margin="10,6" Text="{TemplateBinding Content}"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
</ResourceDictionary> |