Share via


FontSettings.Style Property

Gets or sets the font's bold, italic, strikeout, and underline styles. Only allows the change if the property is not immutable and sets the override flags appropriately.

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 Style As FontStyle
public FontStyle Style { get; set; }
public:
property FontStyle Style {
    FontStyle get ();
    void set (FontStyle value);
}
member Style : FontStyle with get, set
function get Style () : FontStyle
function set Style (value : FontStyle)

Property Value

Type: System.Drawing.FontStyle

.NET Framework Security

See Also

Reference

FontSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace