Opacity question

2 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 16 May 2012 Link to this post


    I'm using the latest version of Telerik and I want to know if it's possible to have the "WatermarkContent" the same opacity than the RadDatePicker???

  2. Boyan
    Boyan avatar
    758 posts

    Posted 21 May 2012 Link to this post

    Hi Oliver,

    You can manipulate the look of the WaterMark by using the DateTimeWaterMarkTemplate. Just set it like this:
    <DataTemplate x:Key="WatermarkTemplate">
        <TextBlock Opacity="1" Text="{Binding}" />
        <telerik:RadDateTimePicker  DateTimeWatermarkTemplate="{StaticResource WatermarkTemplate}" Width="100" />

    You can set whatever you like properties to the TextBlock, so it suits your scenario.

    Hope this helps. Let us know if you have further questions.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top