SystemColors.HotTrackBrushKey 屬性

定義

取得繪製熱追蹤項目之 SolidColorBrushResourceKey

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

屬性值

繪製熱追蹤項目之 SolidColorBrush 的資源索引碼。 這個筆刷的 IsFrozen 屬性為 true,所以無法修改。

備註

HotTrackBrushKey使用 建立筆刷的動態參考,以繪製熱追蹤的專案。 如果筆刷已變更,這個動態參考會自動更新。 若要建立不會自動更新的靜態參考,請使用 HotTrackBrush

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱