Skip to main content

SetText Method

Sets the TextProperty for a control.

Definition

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

public static void SetText(
Control control,
string? text
)

Parameters

  Control
The control
  String
The search text to set

See Also

Reference

TextSearch Class
Avalonia.Controls.Primitives Namespace