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

ControlTemplate and Thema

1 Answer 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 15 Aug 2012, 03:52 PM
Hello,

I need to hide minimize and maximize buttons in my radwindow.
I used your example on http://www.telerik.com/community/forums/wpf/window/window-style-and-template.aspx and modified ControlTemplate to hide the buttons, its works fine.
But I use a Style Manager in my Application
            StyleManager.ApplicationTheme = new Expression_DarkTheme();

After adding the ControlTemplate I can't style Radwindow header anymore.
Can you please help me ?









1 Answer, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 15 Aug 2012, 04:56 PM
Hi Stefan,

Since you are using the StyleManager it will override your custom style with the theme's style. In this case you may want to use Implicit Styling and edit the ExpressionDark theme you want to use.

This link will bring you to the documentation on how to leverage Implicit Style and also how to edit the theme. After reading that documentation and doing the tutorial, you should be able to get the visual appearance you want.

Good Luck!
Lancelot
Tags
Window
Asked by
Stefan
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Share this question
or