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

Change the layout by code

1 Answer 33 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Akram
Top achievements
Rank 1
Akram asked on 06 Jan 2013, 08:04 PM
Hi
How can i change the layout of the RadDocking from code, i mean how to set the RadPane top,bottom,down or left.

Thanks,
Akram

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 09 Jan 2013, 09:36 AM
Hi Akram,

In order to change the docked position of a specific RadSplitContainer you should set the InitialPosition property of that container.

The next code snippet shows how to dock the RadSplitContainer with x:Name="splitContainer" to the bottom:
this.splitContainer.InitialPosition = Telerik.Windows.Controls.Docking.DockState.DockedBottom;

Hope this is helpful.

Kind regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
Akram
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or