Skip to main content

SetFontStretch Method

Sets the value of the attached FontStretchProperty on a control.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static void SetFontStretch(
Control control,
FontStretch value
)

Parameters

  Control
The control.
  FontStretch
The property value to set.

See Also

Reference

TextElement Class
Avalonia.Controls.Documents Namespace