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
声明
Public Property Style As FontStyle
Get
Set
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
- 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.