Visual Basic (Declaration) | |
---|---|
<TypeConverterAttribute("System.Windows.FontSizeConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")> Public Property FontSize As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[TypeConverterAttribute("System.Windows.FontSizeConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public double FontSize {get; set;} |
C++/CLI | |
---|---|
[TypeConverterAttribute("System.Windows.FontSizeConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public: property double FontSize { double get(); void set (double value); } |
XAML Attributes Usage | |
---|---|
<object FontSize=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
XAML Attributes Usage | |
---|---|
<object FontSize=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
A double value that specifies font size the text should be formatted at.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