You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.5 KiB

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:f="clr-namespace:KPlan.Forms">
<Style TargetType="{x:Type f:EPlanTreeItem}">
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Image
Width="16"
Height="16"
Stretch="Fill"
Source="{DynamicResource ICON}"
/>
<TextBlock Text="{Binding}" Margin="5,0" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter Property="Margin" Value="0 2 0 0" />
</Style>
<Style TargetType="{x:Type f:TCTreeItem}">
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Image
Width="16"
Height="16"
Stretch="Fill"
Source="{DynamicResource ICON}"
/>
<TextBlock Text="{Binding}" Margin="5,0" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type DataGridColumnHeader}" x:Key="white_header">
<Setter Property="Background" Value="LightGray" />
<Setter Property="BorderBrush" Value="#000"/>
<Setter Property="BorderThickness" Value="0,0,1,0"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
</Style>
<Style TargetType="{x:Type DataGridColumnHeader}" x:Key="tc_header">
<Setter Property="Background" Value="#49BEB7" />
<Setter Property="BorderBrush" Value="#000"/>
<Setter Property="BorderThickness" Value="0,0,1,0"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
</Style>
<Style TargetType="{x:Type DataGridColumnHeader}" x:Key="eplan_header">
<Setter Property="Background" Value="#FF5959" />
<Setter Property="BorderBrush" Value="#000"/>
<Setter Property="BorderThickness" Value="0,0,1,0"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
</Style>
</ResourceDictionary>