Click or drag to resize
GridViewDragDropHelper Class
Helper class that binds the DragDropManager events with a DragDropBehavior.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.DragDrop.BehaviorsDragDropHelperGridViewDragDropBehavior, GridViewDragDropState
    Telerik.Windows.DragDrop.BehaviorsGridViewDragDropHelper

Namespace: Telerik.Windows.DragDrop.Behaviors
Assembly: Telerik.Windows.Controls.GridView (in Telerik.Windows.Controls.GridView.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class GridViewDragDropHelper : DragDropHelper<GridViewDragDropBehavior, GridViewDragDropState>

The GridViewDragDropHelper type exposes the following members.

Constructors
  NameDescription
Public methodGridViewDragDropHelper
Top
Methods
  NameDescription
Protected methodCreateDragVisualProviderState
Creates and initializes a DragVisualProviderState object.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodCreateStateForDrop
Creates and initializes a DragDropState from the provided DragEventArgs.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodDragDropCompleted
When overridden in a derived class allows calling custom code on the DragDropCompleted event.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodDragLeave
When overridden in a derived class allows calling custom code on the MouseLeave event.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodDragOver
When overridden in a derived class allows calling custom code on the DragOver event.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodDrop
When overridden in a derived class allows custom code in the Drop event.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodFindDraggedItem
Finds the GridViewRow that contains the provided element.
(Overrides DragDropHelperTBehavior, TStateFindDraggedItem(FrameworkElement).)
Protected methodFindDragSource
Finds the control that contains the provided element. In case of a ListBox drag-drop implementation, this method should return a ListBox.
(Overrides DragDropHelperTBehavior, TStateFindDragSource(FrameworkElement).)
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.
(Overrides DragDropHelperTBehavior, TStateFindDropItemsControl(FrameworkElement, Object).)
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.
(Overrides DragDropHelperTBehavior, TStateFindDropTarget(FrameworkElement).)
Protected methodGetContainerFromItem
Returns the container for the specified item. When overridden in a derived class allows usage of custom ItemContainerGenerators.
(Overrides DragDropHelperTBehavior, TStateGetContainerFromItem(FrameworkElement, Object).)
Protected methodGetDraggedItems
When overridden in a derived class this method returns the items that should be dragged.
(Overrides DragDropHelperTBehavior, TStateGetDraggedItems(FrameworkElement).)
Protected methodGetItemsFromDataObject
Retrieves items from the specified data object only of the specified type.
(Inherited from DragDropHelperTBehavior, TState.)
Protected methodGetItemsSource
Returns a list containing the items of the specified control.
(Overrides DragDropHelperTBehavior, TStateGetItemsSource(FrameworkElement).)
Protected methodGetItemType
Returns the Type of the items in the provided control.
(Inherited from DragDropHelperTBehavior, TState.)
Top
Properties
See Also