Posted 14 years ago
by Christopher Skeels

Hi,
I'm trying to enforce a minimum height and width on docking windows in my application. Here's a stripped down version of what I have.All this does however, is shrink the window from the top and bottom when the window is less than the MinHeight I specified. Also, this allows the window to completely disappear (including the title bar) if I resize it small enough. How can I get the docking windows to keep from getting smaller than the height I specify?
Let me know if I need to add anything else to this. Thanks
I'm trying to enforce a minimum height and width on docking windows in my application. Here's a stripped down version of what I have.
<docking:DockSite>
<docking:Workspace>
<docking:StandardMdiHost>
<docking:DocumentWindow MinWidth="100" MinHeight="100" Title="Test window">
<TextBlock>hey</TextBlock>
</docking:DocumentWindow>
</docking:StandardMdiHost>
</docking:Workspace>
</docking:DockSite>
Let me know if I need to add anything else to this. Thanks