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

Change background color of modal RadWindow (WPF)

7 Answers 316 Views
Window
This is a migrated thread and some comments may be shown as answers.
Thomas LEBRUN
Top achievements
Rank 1
Thomas LEBRUN asked on 14 Dec 2011, 11:32 AM
Hi,

Is there any way to change the background color of modal RadWindow to make them looks like the standard ChildWindow that exists in Silverlight ?

After looking for that info on the forums, it seems it's possible in Silverlight and WPF (XBAP) but not in "normal" WPF....

Any ideas on how to fix this ? Any workaround ?

Thanks !

7 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 16 Dec 2011, 11:53 AM
Hello Thomas,

You are right - ModalBackground of RadWindow is supported for Silverlight and XBAP applications only.

We are sorry, but currently there is no available workaround to this behavior.

Kind regards,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Tarik
Top achievements
Rank 1
answered on 13 Jun 2015, 01:04 PM

Hi,
Is there any solution for this limitation in the new versions ?!! 
Thanks !

0
Kalin
Telerik team
answered on 17 Jun 2015, 10:47 AM
Hi Tarik,

The modal Windows in WPF don't have modal background and this is a framework behavior. The ModalBackground property of RadWindow is only supported for Silverlight and XBAP applications.

If you have any other questions, please let us know.

Regards,
Kalin
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Tarik
Top achievements
Rank 1
answered on 07 Jul 2015, 11:23 AM

Is there any way to turnaround, and apply a modal background to RadWindows ?

tks!

0
Kalin
Telerik team
answered on 08 Jul 2015, 08:23 AM
Hi Tarik,

The closest possible suggestion would be to manually toggle the visibility of a Border with the desired color and opacity inside your application Window (just wrap the content with the Border) once the dialog is shown/closed.

Hope this helps.

Regards,
Kalin
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Tarik
Top achievements
Rank 1
answered on 22 Jul 2015, 09:57 AM

Can you please present us a sample WPF MVVM code that can do this ?

Tks!

0
Kalin
Telerik team
answered on 24 Jul 2015, 08:51 AM
Hi Tarik,

Please check the attached sample project that demonstrates one approach to achieve our suggestion.

Hope this helps.

Regards,
Kalin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Window
Asked by
Thomas LEBRUN
Top achievements
Rank 1
Answers by
Dani
Telerik team
Tarik
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or