Hi
How can i move the TabItems dynamically,i mean dragging the Tabitems to another position.
Thanks
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for your post. I have been looking into the functionality that you are looking for and I can suggest the following two approaches for 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.
2. You can use a XamDockManager, instead of the XamTabControl. In the XamDockManager you can add a DocumentHostControl and add ContentPanes in it, which will be the tabs. Then you can hide the DockingIndicator and also create a style for the ContentPane in which you can restrict the drag and drop of the ContentPanes to only the DocumentHost.
I have created a sample application for you, that demonstrates how you can implement both of the approaches, I have mentioned.
If you need any further assistance on the matter, please do not hesitate to ask.