New to Telerik UI for WinFormsStart a free 30-day trial

Represents the GridDragDropBehavior for columns.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridColumnDragDropBehvavior : GridDragDropBehavior, IGridDragDropBehavior

Inheritance: objectGridDragDropBehaviorGridColumnDragDropBehvavior

Implements: IGridDragDropBehavior

Inherited Members GridDragDropBehavior.Initialize(RadGridViewElement)GridDragDropBehavior.GridViewElement

Constructors

C#
public GridColumnDragDropBehvavior()

Properties

Gets the drag hint.

C#
public override RadImageShape DragHint { get; }
Property Value:

The drag hint.

Overrides: GridDragDropBehavior.DragHint

Methods

Gets the drag hint location.

C#
public override Point GetDragHintLocation(ISupportDrop dropTarget, Point mousePosition)
Parameters:dropTargetISupportDrop

The drop target.

mousePositionPoint

The mouse position.

Returns:

Point

Overrides: GridDragDropBehavior.GetDragHintLocation(ISupportDrop, Point)

Gets the size of the drag hint.

C#
public override Size GetDragHintSize(ISupportDrop dropTarget)
Parameters:dropTargetISupportDrop

The drop target.

Returns:

Size

Overrides: GridDragDropBehavior.GetDragHintSize(ISupportDrop)

Updates the drop context.

C#
public override void UpdateDropContext(ISupportDrag draggedContext, ISupportDrop dropTarget, Point? location)
Parameters:draggedContextISupportDrag

The dragged context.

dropTargetISupportDrop

The drop target.

locationPoint?

The location.

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