Class RadGridViewDragDropService
Represents a service that manages drag and drop actions in Rad
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 Rad
Declaration
public RadGridViewDragDropService(RadGridViewElement gridViewElement)
Parameters
Rad 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. 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. The allow auto scroll rows while dragging. |
Behavior
Gets the behavior.
Declaration
public IGridDragDropBehavior Behavior { get; }
Property Value
IGrid The behavior. |
GridViewElement
Gets the grid view element.
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
Rad 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
System. The point. |
Returns
HandleMouseMove(Point)
Handles the mouse move.
Declaration
protected override void HandleMouseMove(Point mousePosition)
Parameters
System. The mouse position. |
Overrides
OnPreviewDragOver(RadDragOverEventArgs)
Raises the Preview
Declaration
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Parameters
Rad The Rad |
Overrides
OnPreviewDropTarget(PreviewDropTargetEventArgs)
Raises the Preview
Declaration
protected override void OnPreviewDropTarget(PreviewDropTargetEventArgs e)
Parameters
Preview The Preview |
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
ISupport 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. The mouse position. |