MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.27k stars 2.45k forks source link

MetroWindow as a pure Window Style #3354

Closed ironhide91 closed 5 years ago

ironhide91 commented 5 years ago

Is your feature request related to a problem? Please describe. I want to use Mahapps.Metro for styling my app. This is unique situation where, the app is composed of vairous WPF User Control class libraries. Our firm uses a custom bootstrapper to launch these components. It automatically creates a shell window for the app and host's the views inside it. I cannot touch the bootstrapper in anyway.

Describe the solution you'd like What I want is a standalone Window style, which targets a Window object. I just need the basic MetroWindow style like window tile bar along with min, max & close buttons.

punker76 commented 5 years ago

@ironhide91 This is currently not possible. The MetroWindow does many code behind action which is not possible to do only with a style. If you don't need all the additional features of the MetroWindow then you can make your own style without these stuff. The main style can you find here