TextBlock.

GetFontSize(Control) Method

Summary

Gets the value of the attached FontSizeProperty on a control.
Namespace
Avalonia.Controls
Containing Type
TextBlock

Syntax

public static double GetFontSize(Control control)

Parameters

Name Type Description
control Control The control.

Return Value

Type Description
double The font family.