ToolBar.SeparatorStyleKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static property System::Windows::ResourceKey ^ SeparatorStyleKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey SeparatorStyleKey { get; }
static member SeparatorStyleKey : System.Windows.ResourceKey
Public Shared ReadOnly Property SeparatorStyleKey As ResourceKey
Property Value
A resource key that represents the default style for separators on the toolbar.
Examples
The following example uses this property to apply a Style to Separator controls on a ToolBar.
<Style x:Key="{x:Static ToolBar.SeparatorStyleKey}" TargetType="Separator">
<Setter Property="Background" Value="DarkBlue"/>
<Setter Property="Width" Value="2"/>
</Style>
Remarks
Use this property to change the default style of Separator controls on the ToolBar.
XAML Attribute Usage
<object property="{
ToolBar.SeparatorStyleKey}"/>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.