This is a migrated thread and some comments may be shown as answers.

How to make all the watermarks in the application empty?

2 Answers 55 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Sergi
Top achievements
Rank 1
Sergi asked on 10 Mar 2011, 04:41 PM
I've tried creating an style but it's not working:

<Style TargetType="{x:Type telerik:RadDatePicker}">
    <Setter Property="DateTimeWatermarkContent" Value="" />
</Style>

How can I create a style or make it easy so that I don't have to explicitly for each raddatepicker?

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 14 Mar 2011, 11:00 AM
Hello Sergi,

Follow the correct solution for the problem.

<Style TargetType="{x:Type telerik:RadDateTimePicker}">
         <Setter Property="DateTimeWatermarkContent" Value="{x:Null}" />
</Style>
  
  
<telerik:RadDateTimePicker InputMode="DatePicker" />


Kind regards,
Kaloyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Sergi
Top achievements
Rank 1
answered on 14 Mar 2011, 01:16 PM
Thanks.
Tags
DatePicker
Asked by
Sergi
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Sergi
Top achievements
Rank 1
Share this question
or