Skip to main content

GetFontStyle Method

Gets the value of the attached FontStyleProperty on a control.

Definition

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

public static FontStyle GetFontStyle(
Control control
)

Parameters

  Control
The control.

Return Value

FontStyle
The font style.

See Also

Reference

TextElement Class
Avalonia.Controls.Documents Namespace