I can only made code set button click Docked to Floating
but i can't mode button click Docking Floating to Docked Left.
have any way to help solution.
Thank You
3 Answers, 1 is accepted
0
Georgi
Telerik team
answered on 26 Nov 2012, 05:58 AM
Hi Watit,
There is no straightforward solution and it depends on what your are trying to achieve. So if you want to dock it on its previous position you need to remember it and add the pane as a child of the specific PaneGroup. In case where you need to add it where there is no PaneGroup or SplitContainer new ones need to be generated. In order to specify where the Pane to be dock you can use the InitialPosition property of the SplitContainer.
Hope this will help.
I try to use InitialPosition but not lucky, erro message aleady element.
radSplitContainer.InitialPosition = Telerik.Windows.Controls.Docking.DockState.DockedLeft
have you demo project for this case?
Thank you very much.
I am attaching a simple project where maximize button is used to maximize the pane and then return it to its original position. Please note that this is a custom made code and it might not work in some other scenarios.
If you have any questions, please don't hesitate to contact us.