protected virtual void OnBeginningDrag(BeginningDragEventArgs args) { if (this.BeginningDrag != null) { this.BeginningDrag(this, args); } }
private bool InitiateDrag(RadGridView gridView, DragDropQueryEventArgs dragDropArgs) { var itemsToDrag = this.GetItemsToReorder(gridView); var eventArgs = new BeginningDragEventArgs(gridView, itemsToDrag); this.OnBeginningDrag(eventArgs); if (!eventArgs.Cancel) { dragDropArgs.Options.Payload = itemsToDrag; this.OnDragStarted(new DragStartedEventArgs(gridView, itemsToDrag)); } return(!eventArgs.Cancel); }