# Watermark

## Content



Using the **Watermark** property you can provide contextual clues of what value users should enter in a C1MaskedTextBox control. The watermark is displayed in the control while not text has been entered. To add a watermark, add the text **Watermark="Watermark Text"** to the **<c1:C1MaskedTextBox>** tag in the XAML markup for any **C1MaskedTextBox** control.

```xml
<c1:C1MaskedTextBox Name="C1MaskedTextBox1" Watermark="Enter Text" Height="23" Margin="21,46,167,0" VerticalAlignment="Top" />
```

The control will appear similar to the following at run time:

![](https://cdn.mescius.io/document-site-files/images/47c7dd3c-b586-44f5-903c-f615f88e343f/images/maskedtextbox/watermark.png)

If you click within the control and enter text, you will notice that the watermark disappears.