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

How to customize RadWindows

7 Answers 254 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jackey
Top achievements
Rank 1
Jackey asked on 21 Nov 2014, 06:35 AM
Hi all,

Now I want to create such a below window, see attached file. Basically, it has a different style of Min, Max and Close button. I want to know how do this.

Thanks,
Arthur

7 Answers, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 25 Nov 2014, 04:42 PM
Hello Jingfei,
 
In order to achieve the desired appearance of RadWindow you could use implicit styles to create a custom RadWindowStyle based on the default one. By modifying the default ControlTemplate of the style the desired could be achieved. We have created a sample project that demonstrates the described approach using Windows7 style. Please, give it a try and let us know if it works for you.

We hope this will help you.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jackey
Top achievements
Rank 1
answered on 30 Nov 2014, 03:26 AM
Thanks Nasko. I've figured out a way to do that according to your suggestions.
0
Jackey
Top achievements
Rank 1
answered on 13 Dec 2014, 12:23 PM
Thanks, Nasko.

I would give it a try.
0
Jackey
Top achievements
Rank 1
answered on 18 Dec 2014, 02:28 PM
Hi Nasko, 

A little further concerns. When i use implicit styles of RadWindow, each time I make some changes, i have to run the app to see how it looks like. Isn't there any design time tool or method to do that?
0
Nasko
Telerik team
answered on 19 Dec 2014, 03:36 PM
Hi Jingfei,

The changes made in the style of RadWindow could be visualized in the Design window of Visual Studio. However, when implicit styles are used the styles are not loaded directly from the UserControl thus the changes could not be visualized. In order to resolve that the ControlTemplate of RadWindow should be set in the RadWindow UserControl definition as shown below:

<telerik:RadWindow  ....
Template="{StaticResource RadWindow_ControlTemplate}"
    ....         >

Hope this helps.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Jackey
Top achievements
Rank 1
answered on 21 Dec 2014, 03:49 AM
Thanks Nasko. It helps a lot.

However, i don't see any effects of ModalBackground of RadWindow, i don't find any visual structure of radwindow which showing the effect of that property. 
0
Polya
Telerik team
answered on 24 Dec 2014, 01:52 PM
Hello Jingfei,

I am afraid that the ModalBackground property is not supported in RadWindow for WPF. The property is available for cross platform compatibility with Silverlight where the ModalBackground appears in the browser.
This is a limitation in WPF framework and does not relate specifically to RadWindow.


Regards,
Polya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Jackey
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Jackey
Top achievements
Rank 1
Polya
Telerik team
Share this question
or