NtObjectDraggingEventArgs

Users can select visible objects (NtDisplayObjects) by clicking on them. Once such objects are being selected, the user can drag them horizontally to move them along the time axis. This process is called 'object dragging'. The NtTimeChartControl fires an event when the object is about to be dragged, one on each movement while dragging, and another one when the dragging is complete (this is when the user releases the mouse).

Class Hierarchy:

System.EventArgs

NtCancelEventArgs

NtObjectDraggingEventArgs

Constructors:

Modifier Name and Parameters Description

public

NtObjectDraggingEventArgs ( List<NtDataObject> draggedDataObjects, long timeDeltaTicks )

The only constructor. It takes as a parameter the NtDisplayObject this event is for.

Methods and Properties:

Modifier / Return Value Name and Parameters Description
public void Cancel ( ) Marks this event as cancelled. Inherited from NtCancelEventArgs.
public NtDisplayObject displayObject When catching this event you can access this member to find out which NtDisplayObject caused the event.

See also:

NtCancelEventArgs
NtTimeChartControl.beginObjectDragging
NtTimeChartControl.continueObjectDragging
NtTimeChartControl.endObjectDragging