共用方式為


AdornerFonts.FontFamilyKey 屬性

取得裝飾項之 FontFamily 的資源索引鍵。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public Shared ReadOnly Property FontFamilyKey As ResourceKey
    Get
public static ResourceKey FontFamilyKey { get; }
public:
static property ResourceKey^ FontFamilyKey {
    ResourceKey^ get ();
}
static member FontFamilyKey : ResourceKey
static function get FontFamilyKey () : ResourceKey

屬性值

型別:System.Windows.ResourceKey
AdornerResources 字典的 ResourceKey,表示 WPF 設計工具中的標準字型系列。

備註

您可以使用 ResourceKey,從 AdornerResources 字典擷取對應的 FontFamily

.NET Framework 安全性

請參閱

參考

AdornerFonts 類別

Microsoft.Windows.Design.Interaction 命名空間

AdornerPanel

AdornerColors

AdornerResources

PrimarySelectionAdornerProvider

其他資源

逐步解說:建立設計階段裝飾項

逐步解說:在控制項中實作滑軌

逐步解說:在設計階段偵錯 WPF 自訂控制項

裝飾項架構