TdxTreeViewControl Class
A Tree View control.
Declaration
TdxTreeViewControl = class(
TdxCustomTreeView
)
Remarks
The Tree View control allows you to display information arranged in a tree structure. The control contains nodes that can show text labels, images, checkboxes, and hints.
Main API Members
The list below outlines key members of the TdxTreeViewControl
class that allow you to manage tree nodes and customize tree view appearance and behavior.
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).
Specify image sources for the Tree View control (Images and StateImages).
Manage a node caption’s in-place editor (IsEditing and EndEdit).
Identify an object at the specified point (GetHitTest and GetNodeAtPos).
Customize behavior, selection, and appearance settings (OptionsBehavior, OptionsSelection, and OptionsView).
Manage Tree View updates (BeginUpdate, EndUpdate, BeginSelect, EndSelect, and FullRefresh).
Refer to the following topic for information on how to use the Tree View control: Tree View Control.