AdvancedTabControl dragging events

Docking/MDI for WPF Forum

Posted 4 years ago by Albert Vishnevsky
Version: 19.1.0685
Avatar

Hi,

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.

Albert

Comments (3)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 4 years ago by Albert Vishnevsky
Avatar

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.

Thanks,

Albert

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 (v24.1.3) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.