SystemColors.GrayTextColorKey Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
ResourceKey Hämtar för inaktiverad Color text.
public:
static property System::Windows::ResourceKey ^ GrayTextColorKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey GrayTextColorKey { get; }
static member GrayTextColorKey : System.Windows.ResourceKey
Public Shared ReadOnly Property GrayTextColorKey As ResourceKey
Egenskapsvärde
Resursnyckeln för inaktiverad Color text.
Kommentarer
GrayTextColorKey Använd för att skapa en dynamisk referens till den inaktiverade textsystemfärgen. Den här dynamiska referensen uppdateras automatiskt om färgen ändras. Om du vill skapa en statisk referens som inte uppdateras automatiskt använder du GrayTextColor.
XAML-attributanvändning
<object property="{DynamicResource {x:Static SystemColors.GrayTextColorKey}}"/>
XAML-värden
x:StaticX:Static Markup Extension.