Class ListBoxDragDropBehavior
Defines the drag and drop behavior in RadListBox control.
Inherited Members
Namespace: Telerik.Windows.DragDrop.Behaviors
Assembly: Telerik.Windows.Controls.dll
Syntax
public class ListBoxDragDropBehavior : DragDropBehavior<DragDropState>, IDragDropBehavior<DragDropState>
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
DragDropState
state
DragDropState that provides context for the current operation. |
Returns
System.Boolean
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.