NtCategoryOpenCloseAnimator

If you want to hide a row in your time chart, you can either set its row height to zero and invalidate. But you can also use this call if you prefer to smoothly open and close rows by an animation.

Class Hierarchy:

NtCategoryOpenCloseAnimator

Constructors:

Modifier Name and Parameters Description

public

NtCategoryOpenCloseAnimator ( NtTimeChartControl tc,int speed)

The only constructor. It assigns the NtTimeChartControl and defines the speed of the animation.

Methods and Properties:

Modifier / Return Value Name and Parameters Description
public void InitAnimation ( int row, bool timerBased ) This method starts the animation. It will be a 'close animation' if the row is currently visible and a 'open animation' if the row is currently closed. You can determine if you want to do the action synchronized (so the call of this method will block until the action is complete) or asynchronously by a timer. If you opt for a timer than even during the animation all other actions like changes to shown data will be visible instantly while animating.