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 حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.