Skip to main content

GetText Method

Gets the TextProperty of a 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 property value

See Also

Reference

TextSearch Class
Avalonia.Controls.Primitives Namespace