Class GridDragDropBehavior
Represents the drag and drop behavior in the grid
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public abstract class GridDragDropBehavior : IGridDragDropBehavior
Constructors
GridDragDropBehavior()
Initializes a new instance of the GridDragDropBehavior class.
Declaration
protected GridDragDropBehavior()
Properties
DragHint
Gets the drag hint.
Declaration
public abstract RadImageShape DragHint { get; }
Property Value
RadImageShape
The drag hint. |
Implements
GridViewElement
Gets the grid view element.
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
RadGridViewElement
The grid view element. |
Implements
Methods
GetDragHintLocation(ISupportDrop, Point)
Gets the drag hint location.
Declaration
public abstract Point GetDragHintLocation(ISupportDrop dropTarget, Point mousePosition)
Parameters
ISupportDrop
dropTarget
The drop target. |
System.Drawing.Point
mousePosition
The mouse position. |
Returns
System.Drawing.Point
|
Implements
GetDragHintSize(ISupportDrop)
Gets the size of the drag hint.
Declaration
public abstract Size GetDragHintSize(ISupportDrop dropTarget)
Parameters
ISupportDrop
dropTarget
The drop target. |
Returns
System.Drawing.Size
|
Implements
Initialize(RadGridViewElement)
Initializes the specified grid view element.
Declaration
public virtual void Initialize(RadGridViewElement gridViewElement)
Parameters
RadGridViewElement
gridViewElement
The grid view element. |
Implements
UpdateDropContext(ISupportDrag, ISupportDrop, Nullable<Point>)
Updates the drop context.
Declaration
public virtual void UpdateDropContext(ISupportDrag draggedContext, ISupportDrop dropTarget, Point? location)
Parameters
ISupportDrag
draggedContext
The dragged context. |
ISupportDrop
dropTarget
The drop target. |
System.Nullable<System.Drawing.Point>
location
The location. |