TextElementSetFontWeight Method

Sets 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 void SetFontWeight(
	Control control,
	FontWeight value
)

Parameters

control  Control
The control.
value  FontWeight
The property value to set.

See Also