SystemColors.MenuTextColorKey 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 Color of a menu's text.
public:
static property System::Windows::ResourceKey ^ MenuTextColorKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey MenuTextColorKey { get; }
static member MenuTextColorKey : System.Windows.ResourceKey
Public Shared ReadOnly Property MenuTextColorKey As ResourceKey
Property Value
The resource key for the Color of a menu's text.
Remarks
Use the MenuTextColorKey to create a dynamic reference to the menu text system color. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use MenuTextColor.
XAML Attribute Usage
<object property="{DynamicResource {x:Static SystemColors.MenuTextColorKey}}"/>
XAML Values
x:Static
The x:Static Markup Extension.
Applies to
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.