SystemColors.ControlLightBrushKey 屬性

定義

得到 ResourceKey ,表示 SolidColorBrush 繪製三維顯示元素光區的 。

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

屬性值

資源鍵 SolidColorBrush 是用來繪製三維顯示元素的光區域。 此刷子的 IsFrozen 性質為 true,因此無法被修改。

備註

利用 來 ControlLightBrushKey 建立一個動態參考,指向系統筆刷,該筆刷繪製三維顯示元素的光區域。 如果筆刷被更改,這個動態參考會自動更新。 若要建立一個不會自動更新的靜態參考,請使用 ControlLightBrush

XAML 屬性使用方式

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

XAML 值

x:靜態x:靜態標記擴充功能

適用於

另請參閱