Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1590
Styling windows
posted

Hi,

Is it possible to style an application's main window so that it looks just like a xamDialogWindow? And can this be done without having to copy/paste the entire styles? The user should be able to switch between themes, so simply copy pasting resource dictionaries doesn't seem like the answer.

I was already thinking that maybe the main window's style could be completely removed (no borders, transparent background), and then wrap all window content in a XamDialogWindow. But then I would have to "rewire" all dialog operations to the actual window and vice versa, and I don't know whether this is possible. (e.g. how would I resize the dialog window beyond the borders of the actual window?) Or is this simply not the right approach?

Regards, Stefan