TextBlock.

GetFontWeight(Control) Method

Summary

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

Syntax

public static FontWeight GetFontWeight(Control control)

Parameters

Name Type Description
control Control The control.

Return Value

Type Description
FontWeight The font family.