# Watermark

The watermark of RadAutoSuggestBox is the content shown in the TextBox when no text is entered.

The default watermark is empty. To change this, set the **WatermarkContent** property of RadAutoSuggestBox.

**Example 1: Set watermark content**

```XAML
<telerik:RadAutoSuggestBox WatermarkContent="Type here" />
```

> caption Watermark content

![WPF RadAutoSuggestBox Watermark content](https://www.telerik.com/products/wpf/documentation/assets/7600dff7d35d2ba99481caa6b83039f1/radautosuggestbox-features-watermark-0.png)

## Customize the Watermark Behavior

The default behavior of the watermark is to get displayed only when no text is entered and the RadAutoSuggestBox control is not focused. To change this, set the **WatermarkBehavior** property of RadAutoSuggestBox. The property expects one of the following values:

* **HiddenWhenFocused** (default): The watermark is hidden when the control is focused. It displays when the control loses the focus.

* **HideOnClick**: The watermark is shown until you click on the TextBox.

* **HideOnTextEntered**: The watermark is shown until text is typed into the TextBox.

## Customize the UI

The default UI of the watermark is a simple content presenter that shows the value of the **WatermarkContent** property. You can change this via the **WatermarkTemplate** property of RadAutoSuggestBox.

**Example 2: Set watermark content template**

```XAML
<telerik:RadAutoSuggestBox WatermarkContent="Type here">
    <telerik:RadAutoSuggestBox.WatermarkTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding}" Foreground="#DAB170" FontStyle="Normal" />
        </DataTemplate>
    </telerik:RadAutoSuggestBox.WatermarkTemplate>
</telerik:RadAutoSuggestBox>
```

> caption Watermark content template

![WPF RadAutoSuggestBox Watermark content template](https://www.telerik.com/products/wpf/documentation/assets/2329d20bfd194080bbb7413a48f81ceb/radautosuggestbox-features-watermark-1.png)

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radautosuggestbox/getting-started)
* [Grouping](https://www.telerik.com/products/wpf/documentation/controls/radautosuggestbox/features/grouping)
* [Events](https://www.telerik.com/products/wpf/documentation/controls/radautosuggestbox/events)
