ControlTemplate and Thema

2 posts, 0 answers
  1. Stefan
    Stefan avatar
    19 posts
    Member since:
    Jul 2012

    Posted 15 Aug 2012 Link to this post

    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 ?









  2. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 15 Aug 2012 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top