TTMSFNCTreeViewCacheItem Class
Stores the bounding rectangle and metadata for a single rendered element in the tree view's display cache.
API unit family: TMSFNCTreeViewData
Syntax
TTMSFNCTreeViewCacheItem = class
Properties
| Name | Description |
|---|---|
| Col | Internal column index used during rendering calculations. |
| Column | Column index associated with this cache item; used for column headers. |
| DrawRect | Clipped drawing rectangle used during the current render pass. |
| EndColumn | Last column index spanned by this cache item; used for group headers. |
| Group | Zero-based index of the group associated with this cache item. |
| Kind | Type of element this cache item represents. |
| Node | The virtual node associated with this cache item; set when Kind is ikNode. |
| Rect | Bounding rectangle of the element in the control's coordinate space. |
| Row | Row index associated with this cache item. |
| StartColumn | First column index spanned by this cache item; used for group headers. |
Methods
| Name | Description |
|---|---|
| CreateColumnBottom | Creates a cache item for the bottom header row of a column. |
| CreateColumnTop | Creates a cache item for the top header row of a column. |
| CreateGroupBottom | Creates a cache item for the bottom header row of a column group. |
| CreateGroupTop | Creates a cache item for the top header row of a column group. |
| CreateNode | Creates a cache item for a data or virtual-mode node row. |