GridDragDropBehavior
Class
Represents the drag and drop behavior in the grid
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
C#
public abstract class GridDragDropBehavior : IGridDragDropBehavior
Inheritance: objectGridDragDropBehavior
Derived Classes:
Implements:
Constructors
Initializes a new instance of the GridDragDropBehavior class.
C#
protected GridDragDropBehavior()
Properties
Gets the drag hint.
C#
public abstract RadImageShape DragHint { get; }
The drag hint.
Implements:
Gets the grid view element.
C#
public RadGridViewElement GridViewElement { get; }
The grid view element.
Implements:
Methods
Gets the drag hint location.
C#
public abstract Point GetDragHintLocation(ISupportDrop dropTarget, Point mousePosition)
The drop target.
mousePositionPointThe mouse position.
Returns:Implements:
Gets the size of the drag hint.
C#
public abstract Size GetDragHintSize(ISupportDrop dropTarget)
The drop target.
Returns:Implements:
Initializes the specified grid view element.
C#
public virtual void Initialize(RadGridViewElement gridViewElement)
The grid view element.
Implements:
Updates the drop context.
C#
public virtual void UpdateDropContext(ISupportDrag draggedContext, ISupportDrop dropTarget, Point? location)
The dragged context.
dropTargetISupportDropThe drop target.
locationPoint?The location.
Implements: