Skip to main content

ListBoxDragDropBehavior.AllowDragDrop Attached Property

Gets or sets whether an end-user is allowed to drag and drop ListBoxEdit’s records. This is an attached property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

Returns

Type Description
Boolean

true, to allow end-users to drag and drop ListBox’s records; otherwise, false.

Remarks

The code sample below shows how to enable drag-and-drop in the ListBoxEdit control:

<dxe:ListBoxEdit Name="listBoxEdit" 
   dx:ListBoxDragDropBehavior.AllowDragDrop="True" />
See Also