ClassificationFormatDefinition.IsItalic 属性

确定文本是否应为斜体。

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

语法

声明
Public Property IsItalic As Nullable(Of Boolean)
public Nullable<bool> IsItalic { get; protected set; }
public:
property Nullable<bool> IsItalic {
    Nullable<bool> get ();
    protected: void set (Nullable<bool> value);
}
member IsItalic : Nullable<bool> with get, set
function get IsItalic () : Nullable<boolean>
protected function set IsItalic (value : Nullable<boolean>)

属性值

类型:Nullable<Boolean>
true ,如果文本为斜体,否则 false。

备注

,如果分类格式有更高的优先级,此值会重写在 FontTypeface 属性为斜体的设置。

.NET Framework 安全性

请参阅

参考

ClassificationFormatDefinition 类

Microsoft.VisualStudio.Text.Classification 命名空间