Recently, I have been working on a WPF application that has
some Windows and Pages. A Page is hosted within a Windows in an XBAP
application. The Width, MaxWidth and MinWidth properties do not apply to a
Page. The only way you could change the width of a page is using the WindowWidth
The following code snippet sets a Page width.
You can also set this dynamically from the code on the class
constructor or anywhere else.
this.WindowHeight = 860;
this.WindowWidth = 1024;