I want to use the Separator control in a vertical way (Lets say in a horizontal StackPanel).
Searching around I found this method but it doesn\'t use the Separator c
Also:
<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" />
Vertical Separator
<Style x:Key="VerticalSeparatorStyle"
TargetType="{x:Type Separator}"
BasedOn="{StaticResource {x:Type Separator}}">
<Setter Property="Margin" Value="6,0,6,0"/>
<Setter Property="LayoutTransform">
<Setter.Value>
<TransformGroup>
<TransformGroup.Children>
<TransformCollection>
<RotateTransform Angle="90"/>
</TransformCollection>
</TransformGroup.Children>
</TransformGroup>
</Setter.Value>
</Setter>
</Style>
Which can be used like this
<Separator Style="{DynamicResource VerticalSeparatorStyle}" />