Visual Basic (Declaration) | |
---|---|
Public Property FontStyle As FontStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public FontStyle FontStyle {get; set;} |
XAML Attributes Usage | |
---|---|
<object FontStyle= |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
XAML Attributes Usage | |
---|---|
<object FontStyle= |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
A FontStyle value that specifies the style of the typeface.For XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnTextObject.
For more information, refer to Using Text in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family