Condividi tramite


ClassificationFormatDefinition.IsItalic Property

Determines whether the text should be italic.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
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>)

Property Value

Type: Nullable<Boolean>
true if the text is italic, otherwise false.

Remarks

This value will override the italic settings in the FontTypeface property if this classification format has a higher priority.

.NET Framework Security

See Also

Reference

ClassificationFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace