New to Telerik UI for WPF? Download free 30-day trial

How to Tell When Tabs are Being Re-ordered

Environment

Product Version 2019.1.116
Product RadTabControl for WPF

Description

How to listen for tab item re-ordering on drag start.

Solution

Subscribe to the DragDropManager.DragInitialize event.

public void MainWindow() 
{ 
    InitializeComponent(); 
    DragDropManager.AddDragInitializeHandler(this.tabControl, OnTabControlDragInitialize, true); 
} 
 
private void OnTabControlDragInitialize(object sender, DragInitializeEventArgs e) 
{ 
 
} 

See Also

In this article