Piccolo.NET

PDragSequenceEventHandler.OnDrag Method 

Subclasses should override this method to get notified of the drag events in a drag sequence.

protected virtual void OnDrag(
   object sender,
   PInputEventArgs e
);

Parameters

sender
The source of the end drag event.
e
A PInputEventArgs that contains the event data.

Remarks

This method is called in the middle of a drag sequence, between the OnStartDrag and the OnEndDrag methods.

Unlike the OnMouseDrag method, this method will not get called until after the MinDragStartDistance has been reached.

Notes to Inheritors: Overriding methods must still call base.OnDrag() for correct behavior.

See Also

PDragSequenceEventHandler Class | UMD.HCIL.Piccolo.Event Namespace