Skip to main content

GetText Method

Gets the value of the TextProperty attached property from a given Control.

Definition

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

public static string? GetText(
Control control
)

Parameters

  Control
The control.

Return Value

String
The search text.

See Also

Reference

TextSearch Class
Avalonia.Controls.Primitives Namespace