# DragReorder of Tabs

With the official Q3 2012 release of UI for WPF we introduced the **DragReorder** feature of **RadDocking** control. This feature will help end users to easily reorder existing **RadPanes** in a specific **RadPaneGroup**.

`AllowDragReorder` enables mouse-driven reordering. It does not move tabs through code. To change tab order programmatically, see [Reordering Panes Programmatically](https://www.telerik.com/products/wpf/documentation/controls/raddocking/features/pane-groups#reordering-panes-programmatically). You do not need to enable `AllowDragReorder` for that approach.

## Enabling and Disabling DragReorder

By default the **DragReorder** feature is disabled. In order to enable it you will need to set the AllowDragReorder property of the control to true.

The next code snippet shows how to enable the DragReorder feature:

```XAML
<telerik:RadDocking AllowDragReorder="True">
    ...
</telerik:RadDocking>
```

The following screenshots demonstrate the behavior of RadDocking when DragReorder feature is enabled:

* When RadPaneGroup is in DocumentHost:

  ![raddocking-features-dragreorder-1](https://www.telerik.com/products/wpf/documentation/assets/3b9d18c095ee7cf833fd29d6b24d7145/raddocking-features-dragreorder-1.png)

![raddocking-features-dragreorder-2](https://www.telerik.com/products/wpf/documentation/assets/09862f76866a766b00606ac9c16f0b44/raddocking-features-dragreorder-2.png)

* When RadPaneGroup is not in DocumentHost:

  ![raddocking-features-dragreorder-3](https://www.telerik.com/products/wpf/documentation/assets/b95e9b0809da097dad61c64c698424f7/raddocking-features-dragreorder-3.png)

![raddocking-features-dragreorder-4](https://www.telerik.com/products/wpf/documentation/assets/d080f6938158f1d8143845b61c9fec56/raddocking-features-dragreorder-4.png)
