New to Telerik UI for WPF? Download free 30-day trial

WatermarkTextBox Properties

The RadFilePathPicker has a RadWatermarkTextBox element inside it, which is responsible for holding the text. This article will list the properties that the control exposes for working with the RadWatermarkTextBox.


The WatermarkContent property of the control sets the WatermarkContent of the RadWatermarkTextBox.

Example 1: Setting the WatermarkContent

<telerik:RadFilePathPicker WatermarkContent="Select a file!" /> 

Figure 1: RadFilePathPicker with WatermarkContent

RadFilePathPicker with WatermarkContent


The WatermarkTemplate property of the control sets the WatermarkTemplate of the RadWatermarkTextBox.

Example 2: Setting the WatermarkTemplate

        <DataTemplate x:Key="WatermarkTemplate"> 
            <StackPanel Orientation="Horizontal"> 
                <TextBlock Text="{Binding}" Margin="0 0 5 0" /> 
                <telerik:RadGlyph Glyph="&#xe403;" Foreground="Red"/> 
    <telerik:RadFilePathPicker WatermarkContent="Select a file" WatermarkTemplate="{StaticResource WatermarkTemplate}" /> 

Figure 2: RadFilePathPicker with WatermarkTemplate

RadFilePathPicker with WatermarkTemplate


The EditorVisibility property controls the Visibility of the RadWatermarkTextbox.

Example 3: Setting the WatermarkTemplate property

<telerik:RadFilePathPicker EditorVisibility="Collapsed" /> 

See Also

In this article