TextElementGetFontWeight Method

Gets the value of the attached FontWeightProperty on a control.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static FontWeight GetFontWeight(
	Control control
)

Parameters

control  Control
The control.

Return Value

FontWeight
The font weight.

See Also