AdvancedTabControl dragging events

Docking/MDI for WPF Forum

Posted 1 year ago by Albert Vishnevsky
Version: 19.1.0685


The AdvancedTabControl.CanTabsDrag property works perfect,

but I need implement undo redo actions for tab reordering. 

So I am looking for start and finish dragging events in AdvancedTabControl.

Which event can I use to achive my target?

Thank you very much.


Comments (3)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA

Hi Albert,

The AdvancedTabControl.TabReordered event fires after a tab is moved.  While it doesn't pass old index positions, if you tracked the index state of each tab at the start for your base undo step, you could then see how the indices changed in that event.  Then you could persist the new order of tabs there for another undo step in the event handler.

Actipro Software Support

Posted 11 months ago by Albert Vishnevsky

Thank you very much for the support.

But I cannot find any TabReordered event.

May be it is an internal event or its name was changed.

Into Actipro WPF Studio Documentation there is no information about AdvancedTabControl.TabReordered event too.

Could you specify how I can access to it?

I can see these events:
AdvancedTabControl_DragEnter, AdvancedTabControl_DragLeave, AdvancedTabControl_Drop.

Could you give me a scenario how to use them? 

I cannot catch when these events raise.



Posted 11 months ago by Actipro Software Support - Cleveland, OH, USA

Hi Albert,

I apologize, that was an internal event.  We are going to add it as a TabDragReordered event for the next maintenance release.

Actipro Software Support

The latest build of this product (v21.1.1) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.