Click or drag to resize
DragDropHelperTBehavior, TState Class
Binds the DragDropManager events with a DragDropBehavior.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.DragDrop.BehaviorsDragDropHelperTBehavior, TState
    Telerik.Windows.ControlsRadListBoxDragDropHelper
    Telerik.Windows.DragDrop.BehaviorsGridViewDragDropHelper
    Telerik.Windows.DragDrop.BehaviorsListBoxDragDropHelper

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 abstract class DragDropHelper<TBehavior, TState>
where TBehavior : DragDropBehavior<TState>
where TState : new(), DragDropState

Type Parameters

TBehavior
TState

The DragDropHelperTBehavior, TState type exposes the following members.

Constructors
Methods
  NameDescription
Protected methodCreateDragVisualProviderState
Creates and initializes a DragVisualProviderState object.
Protected methodCreateStateForDrop
Creates and initializes a DragDropState from the provided DragEventArgs.
Protected methodDragDropCompleted
When overridden in a derived class allows calling custom code on the DragDropCompleted event.
Protected methodDragLeave
When overridden in a derived class allows calling custom code on the MouseLeave event.
Protected methodDragOver
When overridden in a derived class allows calling custom code on the DragOver event.
Protected methodDrop
When overridden in a derived class allows custom code in the Drop event.
Protected methodFindDraggedItem
Finds the control that contains the provided element. In case of a ListBox drag-drop implementation, this method should return the ListBoxItem that is going to be dragged.
Protected methodFindDragSource
Finds the control that contains the provided element. In case of a ListBox drag-drop implementation, this method should return a ListBox.
Protected methodFindDropItemsControl
Finds the target control that should accept the dragged items. In case of a ListBox drag-drop implementation, this method should return a ListBox.
Protected methodFindDropTarget
Finds an item from the target control that contains the provided element. In case of a ListBox drag-drop implementation, this method should return a ListBoxItem.
Protected methodGetContainerFromItem
Returns the container for the specified item. When overridden in a derived class allows usage of custom ItemContainerGenerators.
Protected methodGetDraggedItems
When overridden in a derived class this method returns the items that should be dragged.
Protected methodStatic memberGetInferredItemType
Returns the type of the items in the provided collection.
Protected methodGetItemsFromDataObject
Retrieves items from the specified data object only of the specified type.
Protected methodStatic memberGetItemsOfType
Returns IEnumerable containing only items from the provided Type.
Protected methodGetItemsSource
Returns a list containing the items of the specified control.
Protected methodGetItemType
Returns the Type of the items in the provided control.
Top
Properties
  NameDescription
Public propertyDataConverter
Gets or sets the IDataObjectProvider instance that will be used in the drag-drop operations.
Public propertyDragDropBehavior
Gets or sets the DragDropBehavior that will be used in the drag-drop operations.
Public propertyDragVisualProvider
Gets or sets the DragVisualProvider that will be used in the drag-drop operations.
Top
See Also