8 Answers, 1 is accepted
Unless you know the specific size of the RadPane before dragging and it doesn't change (which will happen once it is dragged), then this cannot be achieved with the current implementation of the control. Unfortunately, there is no way to obtain the size of the RadPaneGroup before the PaneStateChange event, in which its size is already 0,0.
We will consider implementing such feature if we receive more clients' requests.
the Telerik team
2) Do you accept that having the panes arbitrarily resize when dragged will often give a very poor user experience.
We are aware of this issue with the Docking control - as you correctly mentioned, we are struggling to make the RadDocking behave as the VS docking. However, the RadDocking supports for now only relative sizing, in order to be able to support absolute sizing it needs to be majorly refactored. We have logged this request in PITS. You can vote for it and track its status. You will be notified when we start working on this request.
the Telerik team
There is a slight shrinkage due to the fact that the method uses the height and width of the pane.Content; however with a little tweaking you could probably adjust for it. Personally I didn't think it was worth it. Btw - the diddling with the pane.Visiblity was due to the fact that when the pane was a RadDocumentPane, its tab showed up in the lower left corner of the ToolWindow.
Hope this helps,
The wait is over :-)
You check the Retain Pane Size help article, which describes this functionality. Give this article a try and let me know if further assistance is required.
Our thoughts here at Progress are with those affected by the outbreak.