Skip to main content

GetFontFamily Method

Gets the value of the attached FontFamilyProperty on a control.

Definition​

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static FontFamily GetFontFamily(
Control control
)

Parameters​

  Control
The control.

Return Value​

FontFamily
The font family.

See Also​

Reference​

TextElement Class
Avalonia.Controls.Documents Namespace