This is a migrated thread and some comments may be shown as answers.

Problem: Floating dockable panel size

2 Answers 100 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 23 Mar 2011, 06:08 PM
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

Sort by
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.

Regards,
Konstantina
the Telerik team
0
Fernando
Top achievements
Rank 1
answered on 24 Mar 2011, 04:04 PM
Thanks!
Tags
Docking
Asked by
Fernando
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Fernando
Top achievements
Rank 1
Share this question
or