TextBlock.

SetFontStyle(Control, FontStyle) Method

Summary

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

Syntax

public static void SetFontStyle(Control control, FontStyle value)

Parameters

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

Return Value

Type Description
void The font family.