Attaching button container to Office2007Blue

Wizard for WPF Forum

Posted 15 years ago by Anurodh Ora
Version: 4.5.0480
Avatar
Hi,

Can anybody suggest me on how to override ButtonContainer of inbuilt themes.

We are defining theme in our xaml wizard tag as:

xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"

themes:ThemeManager.Theme="Office2007Blue"

We have the Alternate Button Container Layout Template and we want to override the Office2007Blue button container with this new one.

Can anybody suggest me on how to achieve this?

Thanks,
Anurodh

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Anurodh,

First I would not recommend using the themes:ThemeManager.Theme directly on controls in a production app. That is more for demonstration and testing purposes. You should be using the global ThemeManager.CurrentTheme property in your app startup code instead.

As for your question though, you could probably make a Style that targets the button container class and put that in the Wizard.Resources.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.