We have several Floating SplitaPanes, some of which need to have a MinHeight, and MinWidth, while others need to have a set Height and Width and set the ResizeMode so the users can not resize them.
How can we achieve this? Setting properties on the SplitPanes doesn't seem to affect the floating windows as expected. Looking at the Visual Tree we noticed that the actual "floating window" is the ToolWindowHostWindow, which contains our SplitPane. Therefore, we need to apply the properties to that control.
How can we set the MinWidth, MinHeight, Width, Heigh, and ResizeMode of the ToolWindowHostWindow?
Hello Dzyann,
There is an attached property for the XamDockManager which can be used to set the size of the floating window – FloatingSize.
Another approach is to get the ToolWindow – ToolWindow.GetToolWindow(pane) and change min width, height and resize mode.
Please have a look at the following forum thread and let me know if you have any other questions on this matter:
http://es.infragistics.com/community/forums/t/90035.aspx