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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.