AdornerFonts.FontFamilyKey 属性

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

为装饰器的 FontFamily 获取资源键。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Shared ReadOnly Property FontFamilyKey As ResourceKey
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 Designer 中的标准字体系列。

备注

使用 ResourceKeyAdornerResources 字典检索相应 FontFamily

.NET Framework 安全性

请参见

参考

AdornerFonts 类

Microsoft.Windows.Design.Interaction 命名空间

AdornerPanel

AdornerColors

AdornerResources

PrimarySelectionAdornerProvider

其他资源

演练:创建设计时装饰器

演练:在控件内部实现一个轨道

演练:在设计时调试 WPF 自定义控件

装饰器体系结构