ClassListBoxDragDropBehavior
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
ListBoxDragDropBehavior()
Initializes a new instance of the ListBoxDragDropBehavior class.
Declaration
public ListBoxDragDropBehavior()
Methods
CanStartDrag(DragDropState)
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
Declaration
public override bool CanStartDrag(DragDropState state)
Parameters
state
DragDropState that provides context for the current operation.
Returns
True if the drag operation can be completed, otherwise false.
Overrides
Remarks
This method is called only in the context of the drag source control.