ClassRadGridViewDragDropService
Represents a service that manages drag and drop actions in RadGridView
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class RadGridViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceRadGridViewDragDropService
Implements:
Inherited Members
Constructors
RadGridViewDragDropService(RadGridViewElement)
Initializes a new instance of the RadGridViewDragDropService class.
Declaration
public RadGridViewDragDropService(RadGridViewElement gridViewElement)
Parameters
gridViewElement
The grid view element.
Properties
AllowAutoScrollColumnsWhileDragging
Gets or sets the allow auto scroll columns while dragging.
Declaration
public bool AllowAutoScrollColumnsWhileDragging { get; set; }
Property Value
The allow auto scroll columns while dragging.
AllowAutoScrollRowsWhileDragging
Gets or sets the allow auto scroll rows while dragging.
Declaration
public bool AllowAutoScrollRowsWhileDragging { get; set; }
Property Value
The allow auto scroll rows while dragging.
Behavior
Gets the behavior.
Declaration
public IGridDragDropBehavior Behavior { get; }
Property Value
The behavior.
GridViewElement
Gets the grid view element.
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
The grid view element.
Methods
DisposeDragHint()
Disposes the drag hint.
Declaration
protected virtual void DisposeDragHint()
GetDragDropBehavior()
Gets the drag drop behavior.
Declaration
protected virtual IGridDragDropBehavior GetDragDropBehavior()
Returns
GetTableElementAtPoint(Point)
Gets the table element at point.
Declaration
protected GridTableElement GetTableElementAtPoint(Point point)
Parameters
point
The point.
Returns
HandleMouseMove(Point)
Handles the mouse move.
Declaration
protected override void HandleMouseMove(Point mousePosition)
Parameters
mousePosition
The mouse position.
Overrides
OnPreviewDragOver(RadDragOverEventArgs)
Raises the event.
Declaration
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Parameters
e
The RadDragOverEventArgs instance containing the event data.
Overrides
OnPreviewDropTarget(PreviewDropTargetEventArgs)
Raises the event.
Declaration
protected override void OnPreviewDropTarget(PreviewDropTargetEventArgs e)
Parameters
e
The PreviewDropTargetEventArgs instance containing the event data.
Overrides
PerformStop()
Performs the stop.
Declaration
protected override void PerformStop()
Overrides
PrepareDragHint(ISupportDrop)
Prepares the drag hint.
Declaration
protected virtual void PrepareDragHint(ISupportDrop dropTarget)
Parameters
dropTarget
The drop target.
SetDragDropBehavior()
Sets the drag drop behavior.
Declaration
protected virtual void SetDragDropBehavior()
UpdateDragHintLocation(Point)
Updates the drag hint location.
Declaration
protected virtual void UpdateDragHintLocation(Point mousePosition)
Parameters
mousePosition
The mouse position.