New to Telerik UI for WPFStart a free 30-day trial

Specifies when the watermark content of RadWatermarkTextBox will be hidden.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public enum WatermarkBehavior

Fields

The watermark will be hidden when the RadWatermarkTextBox has focus.

C#
HiddenWhenFocused = 0

The watermark will be hidden when the the user clicks on the RadWatermarkTextBox.

C#
HideOnClick = 1

The watermark will be hidden when the the user writes text into the RadWatermarkTextBox.

C#
HideOnTextEntered = 2