Backstage theme problem

Ribbon for WPF Forum

Posted 13 years ago by Kamil Kozak
Version: 10.2.0532
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar
Hello

i figured out small problem with themes on backstage

configuration is as follow

<Window>
<Dockpanel>
<userControl - Ribbon> --> defined in external userControl
<Docksite>
</DockPanel>
</Window>

i set the default theme for window and docksite as in one of your examples
this works perfect Window, Ribbon, docksite and all controls are themed correctly

When i fire application menu for first time Backstage has proper theme also

however when i open it for second time its theme is set to default
taking into account that everything works perfect when i open it for first time
i assume it's some strange bug

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Kamil,

If you mean setting the ThemeManager.Theme attached property at the Window level, we don't recommend doing that on a Window other than testing. You should be setting the app-wide ThemeManager.CurrentTheme property in your app startup code instead. Do you still have the problem if you do that?


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.