| Visual Basic (Declaration) | |
|---|---|
Public Property FontFamily As FontFamily | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public FontFamily FontFamily {get; set;} | |
| C++/CLI | |
|---|---|
public: property FontFamily FontFamily { FontFamily get(); void set (FontFamily value); } | |
| XAML Syntax | |
|---|---|
| For XAML information, see the System.Windows.Media.FontFamily type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
| XAML Syntax | |
|---|---|
| For XAML information, see the System.Windows.Media.FontFamily type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
A FontFamily value that specifies the font family 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
Copy Code