TextFormattingRunProperties.Typeface 属性

获取文本的字样。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Public Overrides ReadOnly Property Typeface As Typeface
public override Typeface Typeface { get; }
public:
virtual property Typeface^ Typeface {
    Typeface^ get () override;
}
abstract Typeface : Typeface with get 
override Typeface : Typeface with get
override function get Typeface () : Typeface

属性值

类型:Typeface
字样。

备注

同样,如果当前未设置,则返回系统默认字样。

.NET Framework 安全性

请参阅

参考

TextFormattingRunProperties 类

Microsoft.VisualStudio.Text.Formatting 命名空间