Class
GridColumnDragDropBehvavior

Represents the GridDragDropBehavior for columns.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridColumnDragDropBehvavior : GridDragDropBehavior, IGridDragDropBehavior

Inheritance: objectGridDragDropBehaviorGridColumnDragDropBehvavior

Implements: IGridDragDropBehavior

Inherited Members GridDragDropBehavior.Initialize(RadGridViewElement)GridDragDropBehavior.GridViewElement

Constructors

GridColumnDragDropBehvavior()

Declaration

cs-api-definition
public GridColumnDragDropBehvavior()

Properties

DragHint

Gets the drag hint.

Declaration

cs-api-definition
public override RadImageShape DragHint { get; }

Property Value

RadImageShape

The drag hint.

Overrides GridDragDropBehavior.DragHint

Methods

GetDragHintLocation(ISupportDrop, Point)

Gets the drag hint location.

Declaration

cs-api-definition
public override Point GetDragHintLocation(ISupportDrop dropTarget, Point mousePosition)

Parameters

dropTarget

ISupportDrop

The drop target.

mousePosition

Point

The mouse position.

Returns

Point

Overrides GridDragDropBehavior.GetDragHintLocation(ISupportDrop, Point)

GetDragHintSize(ISupportDrop)

Gets the size of the drag hint.

Declaration

cs-api-definition
public override Size GetDragHintSize(ISupportDrop dropTarget)

Parameters

dropTarget

ISupportDrop

The drop target.

Returns

Size

Overrides GridDragDropBehavior.GetDragHintSize(ISupportDrop)

UpdateDropContext(ISupportDrag, ISupportDrop, Point?)

Updates the drop context.

Declaration

cs-api-definition
public override void UpdateDropContext(ISupportDrag draggedContext, ISupportDrop dropTarget, Point? location)

Parameters

draggedContext

ISupportDrag

The dragged context.

dropTarget

ISupportDrop

The drop target.

location

Point?

The location.

Overrides GridDragDropBehavior.UpdateDropContext(ISupportDrag, ISupportDrop, Point?)