TextBlock.

GetFontStyle(Control) Method

Summary

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

Syntax

public static FontStyle GetFontStyle(Control control)

Parameters

Name Type Description
control Control The control.

Return Value

Type Description
FontStyle The font family.