TextBlock.

SetFontSize(Control, double) Method

Summary

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

Syntax

public static void SetFontSize(Control control, double value)

Parameters

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

Return Value

Type Description
void The font family.