TextElementSetFontStyle Method

Sets the value of the attached FontStyleProperty on a control.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetFontStyle(
	Control control,
	FontStyle value
)

Parameters

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

See Also