TextBlock.

SetFontWeight(Control, FontWeight) Method

Summary

Sets the value of the attached FontWeightProperty on a control.
Namespace
Avalonia.Controls
Containing Type
TextBlock

Syntax

public static void SetFontWeight(Control control, FontWeight value)

Parameters

Name Type Description
control Control The control.
value FontWeight The property value to set.

Return Value

Type Description
void The font family.