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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.