I know I must be missing something really obvious, but when I run the following code I get a window that is rectangular and way bigger than expected. Is there another more appropriate way to set the size of a window before showing it?
DocumentWindow win = new DocumentWindow(this.dockSite);
win.StandardMdiHeight = 150;
win.StandardMdiWidth = 150;
win.Activate();
Also I've noticed a weird rendering issue when I inherit from DocumentWindow and then set the size of the window in xaml. The window is then "cut off" on the right and bottom.
Any help is appreciated!
Matthew
DocumentWindow win = new DocumentWindow(this.dockSite);
win.StandardMdiHeight = 150;
win.StandardMdiWidth = 150;
win.Activate();
Also I've noticed a weird rendering issue when I inherit from DocumentWindow and then set the size of the window in xaml. The window is then "cut off" on the right and bottom.
Any help is appreciated!
Matthew