API Documentation -> NtTimeChartControl -> continueObjectDragging

# NtTimeChartControl.continueObjectDragging Event

This event will be fired when horizontal dragging of data objects is going on. You can catch and cancel this event if you want to limit the dragging. For example if you do not want to allow users to drag objects beyond a certain limit (e.g. a day's limits) you can cancel this event. On the screen it then looks as if the objects can not be moved any further. Canceling this event does not interrupt the dragging procedure itself. Instead, when the next mouse move takes place the dragging can possibly go on.

Overload List:

Event Name | Event Arguments | Description
--- | --- | ---
continueObjectDragging | NtObjectDraggingEventArgs | Event raised when users drag objects.

Event Arguments:

NtObjectDraggingEventArgs
The member draggedDataObjects contains a List<NtDataObject> of all the objects that are currently selected and thereby take part on the dragging.
The member timeDeltaTicks is always zero for this event. You can call the event's Cancel() method to cancel this event. In this case the object dragging will be cancelled and all the objects remain in their position.

Remarks:

As you recieve the list of objects being dragged, you can decide individually in your event handler if you want to approve the dragging or not.

See also:

beginObjectDragging
endObjectDragging
NtObjectDraggingEventArgs

Top API Documentation -> NtTimeChartControl -> continueObjectDragging © 2016 Bassaly