SystemColors.MenuBarColorKey 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.
Gets the ResourceKey for the background Color of a menu bar.
public:
static property System::Windows::ResourceKey ^ MenuBarColorKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey MenuBarColorKey { get; }
static member MenuBarColorKey : System.Windows.ResourceKey
Public Shared ReadOnly Property MenuBarColorKey As ResourceKey
Property Value
The resource key for the background Color of a menu bar.
Remarks
Use the MenuBarColorKey to create a dynamic reference to the color of a menu bar. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use MenuBarColor.
XAML Attribute Usage
<object property="{DynamicResource {x:Static SystemColors.MenuBarColorKey}}"/>
XAML Values
x:Static
The x:Static Markup Extension.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.