Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Change the size of the shell to adjust to the region size (Prism) (MVVM)

$
0
0

I have a shell that was handed down to me from my supervisor. I have been asked to create multiple modules to place within certain regions of the shell. 

 My problem lies with the sizing of the shell. At certain times the shell looks funky because the module or region I am using may fluctuate in size.

 Is there a way to set the shell window size based on a buttons click event. Currently the shell has a region with butttons. The buttons select a tab that goes into a center region within the shell.  I would like to set the size of the window based on the button that is pressed. 

 How would I communicate with the shell from one of the modules within the shell.

Thanks


Viewing all articles
Browse latest Browse all 18858

Trending Articles