| Visual Basic (Declaration) | |
|---|---|
Public Property FontWeight As FontWeight | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public FontWeight FontWeight {get; set;} | |
| C++/CLI | |
|---|---|
public: property FontWeight FontWeight { FontWeight get(); void set (FontWeight value); } | |
| XAML Attributes Usage | |
|---|---|
<object FontWeight= | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
| XAML Attributes Usage | |
|---|---|
<object FontWeight= | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
A FontWeight value that specifies the relative weight 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