# ListBox Item Drag and Drop

The Telerik Blazor ListBox allows users to drag and drop items within the same component instance or across different instances. This is a more flexible alternative to [reordering](https://www.telerik.com/blazor-ui/documentation/components/listbox/overview#creating-blazor-listbox) or [moving ListBox items](https://www.telerik.com/blazor-ui/documentation/components/listbox/connect) with toolbar buttons. As a result, dragging and dropping can be a lot faster and convenient to users when the number of related ListBoxes is three or more.

## Configuration

To enable drag and drop between ListBox components:

1. Set `Draggable="true"` to all of them.
2. Set [`DropSources` to the `Id` values](https://www.telerik.com/blazor-ui/documentation/components/listbox/overview#listbox-parameters) of the permitted source ListBoxes.
3. Subscribe to the [`OnDrop` event](https://www.telerik.com/blazor-ui/documentation/components/listbox/events#ondrop) of each ListBox that users can drag items from. The `OnDrop` event always fires from the source (origin) ListBox instance.
4. Decide if you want to drag and drop the single item from the `args.Items` event argument or the full current selection.
5. [`Rebind()`](https://www.telerik.com/blazor-ui/documentation/components/listbox/overview#listbox-reference-and-methods) each ListBox after making programmatic changes to its `Data`.

## Example

> caption Using ListBox drag and drop

<demo metaUrl="client/listbox/drag-drop/" height="450px"></demo>

## Next Steps

* [Implement ListBox templates](https://www.telerik.com/blazor-ui/documentation/components/listbox/templates)
* [Handle ListBox events](https://www.telerik.com/blazor-ui/documentation/components/listbox/events)

## See Also

* [Live Demo: ListBox Drag and Drop](https://demos.telerik.com/blazor-ui/listbox/drag-drop)
