GetFontStyle Method
Gets the value of the attached FontStyleProperty on a control.
Definition
Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static FontStyle GetFontStyle(
Control control
)
Public Shared Function GetFontStyle (
control As Control
) As FontStyle
static member GetFontStyle :
control : Control -> FontStyle
Parameters
- Control
- The control.
Return Value
FontStyle
The font style.