Getting Started

This tutorial will walk you through the required steps for using RadWatermarkTextBox.

Assembly References

In order to use RadWatermarkTextBox in your application, you need to add reference to the * Telerik.Windows.Controls assembly.

Adding RadWatermarkTextBox to the Project

Example 1: Defining RadWatermarkTextBox

<telerik:RadWatermarkTextBox/> 

Figure 1: Defining RadWatermarkTextBox

Defining RadWatermarkTextBox

Setting the WatermarkContent

RadWatermarkTextBox supports setting its WatermarkContent or WatermarkTemplate for visualizing the needed information. These mechanisms are covered in details in the Features topic.

Example 2: Setting the WatermarkContent

<telerik:RadWatermarkTextBox WatermarkContent="Please enter your name"/> 

Figure 2: Setting the WatermarkContent

Setting the WatermarkContent

See also

In this article
Not finding the help you need? Improve this article