I have a xamtabcontrol and i would like to have it so that the user can drag the tabs and change their order. I would also like to then make the order they set persistent.
HI Petetatilba,
You should consider using the XamDockManager and placing ContentPanes inside of a TabGroupPane. It has builtin drag and drop suppport,
and the ability to save and load the layout.
I am attaching a sample that sets the XamDockManager as a tab and allows draging to reorder the tabs and the saving and loading of the layouts.
Sincerely, Matt Developer Support Engineer
HI,
Please let me know if you need further assistance regarding this issue.
Sincerely,
Matt
Developer Support Engineer
i think the solution you attached is for another issue. I still need help with my prior issue.
i saw this on another post. could you give an example of implementing it.
1. You can implement the drag and drop of the items in the XamTabControl, using Infragistics Drag and Drop Framework. To do that you can re-template the TabItemEx and setting DragSource and DropTarger of its root element. Then using the events of the DragSource, you can implement the tab moving.
You should use the XamDockManager for this, it has built in drag and drop and load and saving of layouts.
Here the Sample.