Hi, I have some RadPanes in a RadPaneGroup, and I want to change one of the RadPane's order, just like to the first tab position or somewhere. How to do it?
Thanks
2 Answers, 1 is accepted
0
Accepted
Nasko
Telerik team
answered on 19 Oct 2016, 10:57 AM
Hello Jonathan,
From the provided description of your requirement you are trying to change the current position of a Pane from code-behind. RadPanes are placed inside RadPaneGroups which on the other hand derives from ItemsControls. So, in order to change the position of a Pane placed inside the PaneGroup you need to implement some custom logic for the Items collection of the PaneGroup. For example the following code-snippet will move the first to index 1: