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