Partager via


ClassificationFormatDefinition.IsBold Property

Determines whether the text should be bold.

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

Syntax

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

Property Value

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

Remarks

This value overrides the bold 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