次の方法で共有


SystemColors.ControlTextColorKey プロパティ

定義

3 次元表示要素内のテキストのColorResourceKeyを取得します。

public:
 static property System::Windows::ResourceKey ^ ControlTextColorKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey ControlTextColorKey { get; }
static member ControlTextColorKey : System.Windows.ResourceKey
Public Shared ReadOnly Property ControlTextColorKey As ResourceKey

プロパティ値

3 次元表示要素内のテキストの Color のリソース キー。

注釈

ControlTextColorKeyを使用して、3 次元表示要素内のテキストの色への動的参照を作成します。 この動的参照は、色が変更されると自動的に更新されます。 自動的に更新されない静的参照を作成するには、 ControlTextColorを使用します。

XAML 属性の使用法

<object property="{DynamicResource {x:Static SystemColors.ControlTextColorKey}}"/>

XAML 値

x:Staticx:Static マークアップ拡張機能

適用対象

こちらもご覧ください