GetFontSize Method
Gets the value of the attached FontSizeProperty on a control.
Definition
Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static double GetFontSize(
Control control
)
Public Shared Function GetFontSize (
control As Control
) As Double
static member GetFontSize :
control : Control -> float
Parameters
- Control
- The control.
Return Value
Double
The font size.