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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: FontStyle
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.