Share via


TextFormattingRunProperties.Bold Property

Determines whether the formatting is made explicitly bold.

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

Syntax

'Declaration
Public ReadOnly Property Bold As Boolean
public bool Bold { get; }
public:
property bool Bold {
    bool get ();
}
member Bold : bool with get
function get Bold () : boolean

Property Value

Type: System.Boolean
true if the formatting is made explicitly bold, otherwise false.

Remarks

Returns false if BoldEmpty returns true.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace