Outer background when window is modal opened

5 posts, 0 answers
  1. Ramiro
    Ramiro avatar
    46 posts
    Member since:
    Aug 2010

    Posted 01 Sep 2010 Link to this post


    I was watching a sample when a radWindow is opened in modal way. My question is, if it's possible to change the darkened color due to our app has a background little darkened (xbap) and summarized with telerik control gets too much darkened


  2. Dani
    Dani avatar
    848 posts

    Posted 02 Sep 2010 Link to this post

    Hi Ramiro,

    Thank you for contacting us.

    You can easily change the WindowModalBackground brush to whatever lighter or darker color you like. Please, check this article.

    If you need further help, please let me know.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Ramiro
    Ramiro avatar
    46 posts
    Member since:
    Aug 2010

    Posted 02 Sep 2010 Link to this post

    Thank you very much!
  5. Sergiy
    Sergiy avatar
    38 posts
    Member since:
    Jan 2012

    Posted 18 Oct 2012 Link to this post

    Could I make the background blurry? (MainWindow background under my modal window) How?
    (note: I am using metro style)
    Thank You. 
  6. Boyan
    Boyan avatar
    758 posts

    Posted 23 Oct 2012 Link to this post

    Hello Sergiy,

    I am not really sure what do you mean by blurry, but if you want to set some kind of opacity you can set ti with setting ModalBackground like this:

    window.ModalBackground = new SolidColorBrush(Color.FromArgb( 66, 255, 0, 0));
    Where the first value of the FromArgb method is the opacity. Note that you can't set background in WPF , but just in XBAP or Silverlight.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner