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

Custom styling custom controls

2 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Edo Cof
Top achievements
Rank 1
Edo Cof asked on 02 Apr 2010, 11:30 AM
I set StyleManager.ApplicationTheme to office_blue. It all works as expected.
I even create my own control and call StyleManager.SetTheme(this, StyleManager.ApplicationTheme) and all my controls (button, TextBox, ... ) everything is as it should be.

But i want more:
I want to paint stackpanel or Border or anything else.

For example. I want to style Border as it is styled RadToolBar. (image 1)
Or i want that Button is styled as RadButton.

2 Answers, 1 is accepted

Sort by
0
Edo Cof
Top achievements
Rank 1
answered on 02 Apr 2010, 11:37 AM
Button over RadButton.

(If i edit my previous post, the second attachment is not added, so another post)
0
Accepted
Kalin Milanov
Telerik team
answered on 05 Apr 2010, 01:25 PM
Hello Matjaz Cof,

As you have already seen we are providing styling to some of the standard controls provided my Microsoft. As custom controls may greatly vary it is virtually impossible for us to provide styles and themes for your custom controls.

As for making your control look like ours I would suggest look at the XAML of each control / control part and extract from there whatever necessary to make your controls look the same way. You can find the XAMLs for all themes in your telerik installation in the Themes folder.

Regards,
Kalin Milanov
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.
Tags
General Discussions
Asked by
Edo Cof
Top achievements
Rank 1
Answers by
Edo Cof
Top achievements
Rank 1
Kalin Milanov
Telerik team
Share this question
or