API Documentation -> NtTimeChartControl -> InvalidateDisplayObject

# NtTimeChartControl.InvalidateDisplayObject Method

If you want to initiate the repainting of one single data object and this display object is reaching into the visible area and you already obtained the NtDisplayObject for this data object, then you might call this method. This is useful only, if the boundary rectangle of the object has not changed. One good example is that you simply want to change the color of the object. The Time Chart itself uses this method to signal the selected state of objects.
The critical thing about this method is that you first need to obtain the NtDisplayObject that is used for drawing of your NtDataObject.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public void | InvalidateDisplayObject ( NtDisplayObject ntdo ) | Invalidates the NtDisplayObject ntdo

Return value:

void

Parameters:

NtDisplayObject ntdo
The NtDisplayObject to invalidate

Remarks:

None.

See also:

NtDisplayObject
InsertDataObject()
InsertDataObjects()

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