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
Initializes a new instance of the RadGridViewDragDropService class.
public RadGridViewDragDropService(RadGridViewElement gridViewElement)
The grid view element.
Properties
Gets or sets the allow auto scroll columns while dragging.
public bool AllowAutoScrollColumnsWhileDragging { get; set; }
The allow auto scroll columns while dragging.
Gets or sets the allow auto scroll rows while dragging.
public bool AllowAutoScrollRowsWhileDragging { get; set; }
The allow auto scroll rows while dragging.
Gets the behavior.
public IGridDragDropBehavior Behavior { get; }
The behavior.
Gets the grid view element.
public RadGridViewElement GridViewElement { get; }
The grid view element.
Methods
Disposes the drag hint.
protected virtual void DisposeDragHint()
Gets the drag drop behavior.
Gets the table element at point.
protected GridTableElement GetTableElementAtPoint(Point point)
The point.
Returns:Handles the mouse move.
protected override void HandleMouseMove(Point mousePosition)
The mouse position.
Overrides:
Raises the event.
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
The RadDragOverEventArgs instance containing the event data.
Overrides:
Raises the event.
protected override void OnPreviewDropTarget(PreviewDropTargetEventArgs e)
The PreviewDropTargetEventArgs instance containing the event data.
Overrides:
Performs the stop.
protected override void PerformStop()
Overrides:
Prepares the drag hint.
protected virtual void PrepareDragHint(ISupportDrop dropTarget)
The drop target.
Sets the drag drop behavior.
protected virtual void SetDragDropBehavior()
Updates the drag hint location.
protected virtual void UpdateDragHintLocation(Point mousePosition)
The mouse position.