Defines the drag and drop behavior in RadListBox control.
Definition
Namespace:Telerik.Windows.DragDrop.Behaviors
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class ListBoxDragDropBehavior : DragDropBehavior<DragDropState>, IDragDropBehavior<DragDropState>
Inheritance: objectDragDropBehavior<DragDropState>ListBoxDragDropBehavior
Implements:
Inherited Members
Constructors
Initializes a new instance of the ListBoxDragDropBehavior class.
public ListBoxDragDropBehavior()
Methods
Returns a value specifying whether the drag operation can be started. A NotSupportedException is thrown when the dragged items are of type RadListBoxItem and the DragVisualProvider is set to either DefaultDragVisualProvider or ListBoxDragVisualProvider
public override bool CanStartDrag(DragDropState state)
DragDropState that provides context for the current operation.
Returns:True if the drag operation can be completed, otherwise false.
Overrides:
This method is called only in the context of the drag source control.