TextBlock.

SetFontFamily(Control, FontFamily) Method

Summary

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

Syntax

public static void SetFontFamily(Control control, FontFamily value)

Parameters

Name Type Description
control Control The control.
value FontFamily The property value to set.

Return Value

Type Description
void The font family.