Class RadGridViewDragDropService
Represents a service that manages drag and drop actions in RadGridView
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RadGridViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Constructors
RadGridViewDragDropService(RadGridViewElement)
Initializes a new instance of the RadGridViewDragDropService class.
Declaration
public RadGridViewDragDropService(RadGridViewElement gridViewElement)
Parameters
RadGridViewElement
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
System.Boolean
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
System.Boolean
The allow auto scroll rows while dragging. |
Behavior
Gets the behavior.
Declaration
public IGridDragDropBehavior Behavior { get; }
Property Value
IGridDragDropBehavior
The behavior. |
GridViewElement
Gets the grid view element.
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
RadGridViewElement
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
IGridDragDropBehavior
|
GetTableElementAtPoint(Point)
Gets the table element at point.
Declaration
protected GridTableElement GetTableElementAtPoint(Point point)
Parameters
System.Drawing.Point
point
The point. |
Returns
GridTableElement
|
HandleMouseMove(Point)
Handles the mouse move.
Declaration
protected override void HandleMouseMove(Point mousePosition)
Parameters
System.Drawing.Point
mousePosition
The mouse position. |
Overrides
OnPreviewDragOver(RadDragOverEventArgs)
Raises the PreviewDragOver event.
Declaration
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Parameters
RadDragOverEventArgs
e
The RadDragOverEventArgs instance containing the event data. |
Overrides
OnPreviewDropTarget(PreviewDropTargetEventArgs)
Raises the PreviewDropTarget event.
Declaration
protected override void OnPreviewDropTarget(PreviewDropTargetEventArgs e)
Parameters
PreviewDropTargetEventArgs
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
ISupportDrop
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
System.Drawing.Point
mousePosition
The mouse position. |