This project is read-only.

WPF MVVM (code framework) popup window place problem

Oct 16, 2014 at 7:01 AM
I have a WPF MVVM (code framework) project. When I double-click on the popup window i does not want to change places my popup window ???
how can i do this.
Nov 4, 2014 at 6:05 PM
What do you mean by "change places"? Are you trying to maximize it, or what do you expect to happen?

The standard depends on the theme and whether the window can be maximized or not. This probably depends on the style for the object. You can take a look at the style and if you want, copy it into your project and change it there (which overrides the default).

Example: You can take a look at the source and find styles named "CODE.Framework.Wpf.Mvvm.Shell-TopLevelWindowStyle". They exist in every theme (in the Shell xaml file, usually). If you copy that locally into your project you can change it there and change things like the Window style or attach new behavior and so forth.


Markus
Nov 5, 2014 at 8:52 AM
i solved the problem by changing "CODE.Framework.Wpf.Mvvm.Shell-TopLevelWindowStyle"
Nov 5, 2014 at 6:35 PM
Great!

Markus