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 पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.