I have a MenuTool with a bunch of ButtonTools in it. How do I throw in a separator (horizontal line)? SeparatorTool doesn't do anything.
Hello Roy,
The default style of the Separator is the following :
<Style x:Key="SeparatorStyle2" TargetType="{x:Type Separator}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Separator}">
<Grid Margin="0,6,0,4" SnapsToDevicePixels="true">
<Rectangle Fill="#E0E0E0" Height="1" Margin="30,0,1,1"/>
<Rectangle Fill="White" Height="1" Margin="30,1,1,0"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
The properties you are trying are not template bound to the template and will not have any effect. You can modify this style to your needs.
Is there a way to change the color of the separator when you make it? I've tried border bush and foreground. It looks like we are using OfficeBlue also.
Thanks,
Roy
Ack -- you're right. Office2007Blue makes it pretty much invisible.
A SeparatorTool would insert a horizontal line. Is it possible that you're using a theme or custom color scheme that causes the line to not stand out?