SetText Method
Sets the TextProperty for a control.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static void SetText(
Control control,
string? text
)
Public Shared Sub SetText (
control As Control,
text As String
)
static member SetText :
control : Control *
text : string -> unit