Skip to main content

GetFontWeight Method

Gets the value of the attached FontWeightProperty on a control.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static FontWeight GetFontWeight(
Control control
)

Parameters

  Control
The control.

Return Value

FontWeight
The font weight.

See Also

Reference

TextElement Class
Avalonia.Controls.Documents Namespace