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

Change Icon for Maximize button

4 Answers 142 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jayachandran
Top achievements
Rank 1
Jayachandran asked on 15 Sep 2009, 03:00 PM
Hi,

Is there a way to change Icons in controlbox (minimize, maximize and close) in Rad Window for silverlight

Thanks in advance

Jay

4 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 17 Sep 2009, 08:39 AM
Hello Jayachandran,

What you need to do is to edit the ControlTemplate of the RadWindow control and change the content of the buttons (there are 4 buttons).

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jayachandran
Top achievements
Rank 1
answered on 18 Sep 2009, 07:43 PM
Thanks for the reply.

I am not able to access ControlTemplate from code behind (xaml.cs). If I create a own ControlTemplate and assign to the RadWindow's template property , I can able to change the Icons but the close, maximize and minimize functions are not working.

Am I missing anything here?

Thanks
Jay
0
Accepted
Hristo Borisov
Telerik team
answered on 21 Sep 2009, 04:06 PM
Hello Jayachandran,

If you change the control template of the control,make sure you have gotten the naming of the buttons correct, since the code behind refers to specific template names. Here is a list of all required parts needed by the source code of RadWindow in order to function properly. For editing the control template, I advice you to take a look at our article that describes how to do it using Expression blend in depth here.

Kind regards,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jayachandran
Top achievements
Rank 1
answered on 21 Sep 2009, 04:25 PM
Yes, Now it is working fine with modified icons. Thanks for your wonderful support
Tags
Window
Asked by
Jayachandran
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Jayachandran
Top achievements
Rank 1
Hristo Borisov
Telerik team
Share this question
or