TTMSFNCTreeViewNodeValue Class
Stores the text, icon, check state, and per-column data for one column of a tree node.
API unit family: TMSFNCTreeViewData
Inherits from: TCollectionItem
Syntax
TTMSFNCTreeViewNodeValue = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| BitmapContainer | Returns the bitmap container used to resolve icon names to bitmap objects. |
| CheckType | Type of check control shown in this column. Default: tvntNone. |
| Checked | True sets the check control to the checked state. Default: False. |
| CollapsedIcon | Bitmap object for the node icon shown in the collapsed state (normal size). |
| CollapsedIconLarge | Bitmap object for the node icon shown in the collapsed state (large size). |
| CollapsedIconLargeName | Bitmap container name for the node icon shown in the collapsed state (large size). |
| CollapsedIconName | Bitmap container name for the node icon shown in the collapsed state (normal size). |
| DBKey | Database key used to map this value to a dataset field when a database adapter is active. |
| DataBoolean | User-defined Boolean for storing application data on this node value. |
| DataInteger | User-defined integer for storing application data on this node value. |
| DataObject | User-defined object reference for storing application data on this node value. |
| DataPointer | User-defined pointer for storing arbitrary application data on this node value. |
| DataString | User-defined string for storing application data on this node value. |
| ExpandedIcon | Bitmap object for the node icon shown in the expanded state (normal size). |
| ExpandedIconLarge | Bitmap object for the node icon shown in the expanded state (large size). |
| ExpandedIconLargeName | Bitmap container name for the node icon shown in the expanded state (large size). |
| ExpandedIconName | Bitmap container name for the node icon shown in the expanded state (normal size). |
| HTMLTemplateItems | Template substitution values used with the column's HTMLTemplate property. |
| Tag | User-defined integer for application use. Default: 0. |
| Text | Cell text for this column value. |
Methods
| Name | Description |
|---|---|
| AssignData | Copies only the data fields (Text, icons, check state, tag, data slots) from Source. |
| GetText | Returns the current display text, resolving HTML template content when applicable. |
| Node | Returns the parent node that owns this value. |
| TreeView | Returns the tree view data object that owns this node value. |