Click or drag to resize
ListBoxDragDropBehavior Class
Defines the drag and drop behavior in RadListBox control.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      Telerik.Windows.DragDrop.BehaviorsDragDropBehaviorDragDropState
        Telerik.Windows.DragDrop.BehaviorsListBoxDragDropBehavior

Namespace: Telerik.Windows.DragDrop.Behaviors
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class ListBoxDragDropBehavior : DragDropBehavior<DragDropState>

The ListBoxDragDropBehavior type exposes the following members.

Constructors
  NameDescription
Public methodListBoxDragDropBehavior
Initializes a new instance of the ListBoxDragDropBehavior class.
Top
Methods
  NameDescription
Public methodCanDrop
Returns a value specifying whether the current drag operation can be completed.
(Inherited from DragDropBehaviorTState.)
Public methodCanStartDrag
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
(Overrides DragDropBehaviorTStateCanStartDrag(TState).)
Public methodCoerceDraggedItems
When overridden in a derived class, filters the dragged items collection if necessary.
(Inherited from DragDropBehaviorTState.)
Protected methodCopyDraggedItems
Copies the items that are dragged in the operation specified by the provided ListBoxDragDropState.
(Inherited from DragDropBehaviorTState.)
Public methodDragDropCanceled
When overridden in a derived class cleans up a cancelled drag operation. This method is called only in the context of the drag source control.
(Inherited from DragDropBehaviorTState.)
Public methodDragDropCompleted
When overridden in a derived class completes the drag operation. This method is called only in the context of the drag source control.
(Inherited from DragDropBehaviorTState.)
Public methodDrop
Completes the drop operation. This method is called only in the context of the drop target control.
(Inherited from DragDropBehaviorTState.)
Public methodGetDragDropEffects
Returns the DragDropEffects for the current drag drop operation. The return value affects the mouse cursor.
(Inherited from DragDropBehaviorTState.)
Protected methodIsMovingItems
Returns true if the dragged items should be removed from the source list, otherwise false.
(Inherited from DragDropBehaviorTState.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
Properties
See Also