Disabled RadMaskedInput background

2 posts, 0 answers
  1. Chad
    Chad avatar
    9 posts
    Member since:
    Dec 2010

    Posted 16 Nov 2012 Link to this post

    When we set IsEnabled="False" on a MaskedInput control, the background stays white.  Other controls using the same theme (Windows 7) turn to a gray.  Is this something I can address without creating a new template?

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1165 posts

    Posted 21 Nov 2012 Link to this post

    Hello Chad,

    This is expected color by design and if you want to change it you have several options to do so. One is with editing the default style, other is setting the background explicitly - in XAML or in code behind. You can also bind the Background property to the IsEnabled property and use a converter. Please let us know if this  is suitable for you.

    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top