Posted 2 years ago by Sebastian Wrba - M.Sc., WSE GmbH
Version: 17.2.0664
Avatar

Hi,

I try to set an Actipro Theme to my WPF Apllikation. So far I was able to style my CustomControls an of course all Actipro Controlls.

Just the WindowControl keeps the default Color. How do I set / change the Theme of the WPF Window Control? -> I tried the RibbonWindow with the MetroDark Theme and it worked just fine. only the Original Window don't change Color...

Can anyone please help me....

 

Thanks a lot

Cheers Sebastian

Comments (2)

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

Hi Sebastian,

If you mean the native WPF Window and you aren't inheriting RibbonWindow, then you'd need to use our WindowChrome class.  Check out the documentation and sample on how to use WindowChrome.  It has to be applied to each Window since WPF Window's don't work with implicit Styles like other WPF controls do.  Our RibbonWindow actually uses a WindowChrome behind the scenes.


Actipro Software Support

Posted 2 years ago by Sebastian Wrba - M.Sc., WSE GmbH
Avatar

Hi back,

that is the answer... Thanks  ;-)

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.