TextBlock.

GetFontFamily(Control) Method

Summary

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

Syntax

public static FontFamily GetFontFamily(Control control)

Parameters

Name Type Description
control Control The control.

Return Value

Type Description
FontFamily The font family.