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)
- C#
- VB
- F#
public static string? GetText(
Control control
)
Public Shared Function GetText (
control As Control
) As String
static member GetText :
control : Control -> string
Parameters
- Control
- The control.
Return Value
String
The search text.