TextElementGetFontStyle Method

Gets 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 FontStyle GetFontStyle(
	Control control
)

Parameters

control  Control
The control.

Return Value

FontStyle
The font style.

See Also