Creating a RadPane by code an make it floating dockable, i can't set the floating pane size.
Y try with MinHeight.... Height....
Example
oRadPane.MinHeight = 600;
oRadPane.MinWidth = 600;
oRadPane.MakeFloatingDockable();
Always have the same default size.
Any solution?
2 Answers, 1 is accepted
0
Accepted
Konstantina
Telerik team
answered on 24 Mar 2011, 03:38 PM
Hi Fernando,
We are aware of this problem and as we are working on some Docking control matters we will work on this problem as well. Currently we maintain the Floating size, but we write it to the SplitContainer that is contained in the ToolWindow and when you drag out an item you could either drag a group or a pane - that's why it is not respected. What you could do is to hook-up to the PaneStateChanged event and if the pane was just dragged out in a ToolWindow you may hook-up to the SizeChange event of the ToolWindow control and update the FloatingSize property of the PaneGroup and of the Pane.
Hope this information is helpful. Please let us know if you have further questions.