TdxCustomTreeView Class
The base class for the Tree View control.
Declaration
TdxCustomTreeView = class(
TcxControl,
IdxTreeOwner,
IdxInplaceEditContainer,
IdxSkinSupport
)
Remarks
The class members allow you to do the following:
Access tree nodes (Items, AbsoluteItems, and AbsoluteVisibleItems).
Count tree nodes (SelectionCount, AbsoluteCount and AbsoluteVisibleCount).
Manage the Tree View’s selection (Select, Subselect, Deselect, ClearSelection, GetSelections, Selections, and Selected).
Expand and collapse tree nodes (ExpandTo, MakeVisible, FullExpand, and FullCollapse).
Access concomitant data stored in selected nodes (GetSelectedData).
Sort tree nodes (AlphaSort and CustomSort).
Move focus between nodes (FocusedNode).
Save and load the Tree View’s structure and settings (SaveToFile, SaveToStream, SaveDataToFile, SaveDataToStream, LoadFromFile, LoadFromStream, LoadDataFromFile, and LoadDataFromStream).
Access the root node (Root).
Manage a node caption’s in-place editor (IsEditing and EndEdit).
Specify image sources for the Tree View control (Images and StateImages).
Identify an object at the specified point (GetHitTest and GetNodeAtPos).
Manage Tree View updates (BeginUpdate, EndUpdate, BeginSelect, EndSelect, and FullRefresh).
Do not use this class directly, use its descendant instead.