[1.3] Strange floating window startup size

Sep 4, 2010 at 10:47 AM

I want to open a floating window, here is the code:

SampleDocumentWindow w = new SampleDocumentWindow(); 
 w.Show(manager, true);

SampleDocumentWindow is derived from DocumentContent.

The window is created with some default size (250x400), but I want my custom size (defined in SampleDocumentWindow XAML code), why does this not work?




Sep 9, 2010 at 1:33 PM

Just set FloatingWindowSize to your custom size before doing the show.