共用方式為


AdornerFonts.FontSizeKey 屬性

取得裝飾項之字型大小的資源索引鍵。

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

語法

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

屬性值

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

備註

您可以使用 ResourceKey,從 AdornerResources 字典擷取對應的字型大小。

.NET Framework 安全性

請參閱

參考

AdornerFonts 類別

Microsoft.Windows.Design.Interaction 命名空間

AdornerPanel

AdornerColors

AdornerResources

PrimarySelectionAdornerProvider

其他資源

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

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

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

裝飾項架構