SetFontWeight Method
Sets 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 void SetFontWeight(
Control control,
FontWeight value
)
Public Shared Sub SetFontWeight (
control As Control,
value As FontWeight
)
static member SetFontWeight :
control : Control *
value : FontWeight -> unit
Parameters
- Control
- The control.
- FontWeight
- The property value to set.