Skip to main content

Watermark Property

Gets or sets the placeholder or descriptive text that is displayed even if the Text property is not yet set.

Definition

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

public string? Watermark { get; set; }

Property Value

String

See Also

Reference

TextBox Class
Avalonia.Controls Namespace