Gets or sets the size of the font of the text.

Namespace: Elysium.Parameters
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
See GetTextFontSize, SetTextFontSize
Visual Basic
See GetTextFontSize, SetTextFontSize

Property Value

Type: Double
The size of the font of the text. The default value is 9pt.

Remarks

This property influences only the next classes: Despite this, it can be applied to any control, because it is inherited.

Examples

C# Copy imageCopy
1var control = new TextBox();
2var currentValue = Parameters.GetTextFontSize(control);
3Parameters.SetTextFontSize(control, 9d * (96d / 72d));
XAML Copy imageCopy
1<TextBox params:General.ContentFontSize="9pt"/>

See Also