Skip to main content

GetMaxLines Method

Reads the attached property from the given element

Definition

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

public static int GetMaxLines(
Control control
)

Parameters

  Control
The element to which to read the attached property.

Return Value

Int32

See Also

Reference

TextBlock Class
Avalonia.Controls Namespace