Skip to main content

GetFontStretch Method

Gets the value of the attached FontStretchProperty on a control.

Definition

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

public static FontStretch GetFontStretch(
Control control
)

Parameters

  Control
The control.

Return Value

FontStretch
The font stretch.

See Also

Reference

TextElement Class
Avalonia.Controls.Documents Namespace