Hello,
I want to style gridsplitter as fine line , following is my template , which is not very use full for this purpose
<Style x:Key="GridSplitterPreviewStyle"><Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Fill="#80000000"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type GridSplitter}">
<Setter Property="Background"
Value="{DynamicResource BorderBrush}"/>
<Setter Property="PreviewStyle" Value="{StaticResource GridSplitterPreviewStyle}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type GridSplitter}">
<Border BorderBrush="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}"
CornerRadius="0">
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Sincerely, dhampall Please remember to mark the replies as answers if they help and unmark them if they provide no help.