Share via


FontSettings.Regular Property

Gets or sets the font's regular style. Only allows the change if the property is not immutable and the value is true. To set a Font to be non-Regular, one must use any of the Bold, Italic, or Style properties.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Property Regular As Boolean
public bool Regular { get; set; }
public:
property bool Regular {
    bool get ();
    void set (bool value);
}
member Regular : bool with get, set
function get Regular () : boolean
function set Regular (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

FontSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace