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

Outer background when window is modal opened

4 Answers 429 Views
Window
This is a migrated thread and some comments may be shown as answers.
ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
ENTERPRISE INTERNATIONAL SAS asked on 01 Sep 2010, 06:35 PM

Hi!,

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

thanks

4 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 02 Sep 2010, 09:06 AM
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,
Dani
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
0
ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
answered on 02 Sep 2010, 02:54 PM
Thank you very much!
0
Sergiy
Top achievements
Rank 1
answered on 18 Oct 2012, 08:11 AM
Could I make the background blurry? (MainWindow background under my modal window) How?
(note: I am using metro style)
Thank You. 
0
Boyan
Telerik team
answered on 23 Oct 2012, 08:59 AM
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.

Greetings,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Window
Asked by
ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
Answers by
Dani
Telerik team
ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
Sergiy
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or