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
'宣告
Public Property Regular As Boolean
Get
Set
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
- 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.