WPF MVVM (code framework) popup window place problem

Oct 16, 2014 at 6: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 5: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.

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