I am adding a RadDocumentPane to a PaneGroup inside a DocumentHost with no issue with the following code:
This opens the pane without docking it. However I cannot set the size of the pane. I have attempted using docPane.Width / docPane.Height and docPane.RenderSize(w,h) with no change to the size of the pane.
Is there a way to set the width and height of a document pane programatically?
2nd Item: I notice that if I resize the pane manually and then dock the pane; when I drag the pane to undock it, it returns to the default width / height. Is there way to remember the width / height that the pane was docked at and return to that size when it is undocked?
Last Item: I am attempting to use the docking as a MDI replacement. My users are slow to change and may resist this because there is no minimize / maximize and the panes can be dragged outside the parent window. The dragging is more important than the min / max buttons but, is there a reasonable solution / work around for these items?
Thanks in advance.
- Adam
RadDocumentPane docPane = new RadDocumentPane();
docPane.Header = header;
docPane.Content =
"New Pane";
docPane.CanUserClose =
false;
paneGroup.Items.Add(docPane);
docPane.MakeFloatingDockable();
This opens the pane without docking it. However I cannot set the size of the pane. I have attempted using docPane.Width / docPane.Height and docPane.RenderSize(w,h) with no change to the size of the pane.
Is there a way to set the width and height of a document pane programatically?
2nd Item: I notice that if I resize the pane manually and then dock the pane; when I drag the pane to undock it, it returns to the default width / height. Is there way to remember the width / height that the pane was docked at and return to that size when it is undocked?
Last Item: I am attempting to use the docking as a MDI replacement. My users are slow to change and may resist this because there is no minimize / maximize and the panes can be dragged outside the parent window. The dragging is more important than the min / max buttons but, is there a reasonable solution / work around for these items?
Thanks in advance.
- Adam