API Documentation -> NtRowPerspective

# NtRowPerspective

For each visible row in the NtTimeChartControl there must be exactly one NtRowPerspective stored in the NtPerspective of the NtTimeChartControl. In other words: The application wants to arrange different data types in different rows of the NtTimeChartControl, so it creates one NtRowPerspective for each of the rows, applys the correct settings to this NtRowPerspective and then adds it to the rowPerspecives list of the NtPerspective. Only after the NtPerspective is completely configured, the application sets it to the NtTimeChartControl.
A single NtRowPerspective mainly holds the data type ids for that row and what category level this row has. Additionally it defines if the row is closed and what the row height is in open state.

Class Hierarchy:

System.Object

NtRowPerspective

Constructors:

Modifier | Name and Parameters | Description
--- | --- | ---
public | NtRowPerspective ( ) | The default constructor. It does not initialize the object properly. After calling this, the members should be set.
public | NtRowPerspective ( NtRowPerspective n ) | A copy contructor. This initilaizes the object with the data taken from parameter n.

Methods and Properties:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public bool | HasDataType ( int dataTypeId ) | Simple method to check if a certain data type is defined in the row this NtRowPerspective defines.

Members:

Type | Name | Description
--- | --- | ---
public int | categoryLevel | The category level of the row this NtRowPerspective defines. Default is 0.
public string | categoryText | If this row has a category level less then the NtPerspective's maxCategoryLevel then it is a category row. In this case the NtTimeChartControl displays this row as a category row (3D shaped appearance in light grey) and also shows this categoryText as the category title.
public bool | isClosedCategory | This member is true only if this row is a category row (categoryLevel lees then NtPerspective.maxCategoryLevel) and this row is also closed.
public int | rowHeight | This is the row height in pixels. It is used for regular data rows as well as for category rows.

See also:

NtPerspective

Top API Documentation -> NtRowPerspective © 2016 Bassaly