IsReadOnly or Disabled Mask Issue

2 posts, 0 answers
  1. crazy05
    crazy05 avatar
    72 posts
    Member since:
    Sep 2014

    Posted 22 Mar Link to this post

    When we make Rad control IsReadOnly=True or disbaled the control, the value inside is not looking good. It masks the value.

    How can we remove the mask or make more transparent to make the value visible more bright ?


    I am using Expression Dark Theme

    Please guide me

  2. Masha
    Masha avatar
    355 posts

    Posted 23 Mar Link to this post

    Hello Ram,

    In order to achieve the desired approach, you need to create an implicit style for the desired control which should be based on the default one from the ExpressionDark theme. After that you need to modify its control template. The best way to do this is to create a custom resource dictionary and merge it below other resource dictionaries when ExpressionDark  theme is used. Inside it look for VisualState named ReadOnly / Disabled and remove the opacity value there.

    I hope this helps.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top