Skip to main content
A newer version of this page is available. .

TdxCustomTreeView Members

The base class for the Tree View control.

Constructors

Name Description
Create(TComponent) Inherited from TComponent.
CreateParented(HWND) Inherited from TWinControl.

Properties

Name Description
AbsoluteCount Returns the total node count.
AbsoluteItems Provides indexed access to tree nodes.
AbsoluteVisibleCount Returns the visible node count.
AbsoluteVisibleItems Provides indexed access to visible tree nodes.
Action Inherited from TControl.
ActiveCanvas Provides access to the control’s GDI-based canvas. Inherited from TcxControl.
Align Inherited from TControl.
AlignDisabled Inherited from TWinControl.
AlignWithMargins Inherited from TControl.
Anchors Inherited from TControl.
AutoSize Inherited from TControl.
BevelEdges Inherited from TWinControl.
BevelInner Inherited from TWinControl.
BevelKind Inherited from TWinControl.
BevelOuter Inherited from TWinControl.
BevelWidth Inherited from TWinControl.
BiDiMode Inherited from TControl.
BorderSize protected Inherited from TcxControl.
BorderStyle protected Specifies the control’s border style. Inherited from TcxControl.
BorderWidth Inherited from TWinControl.
Bounds Returns the control’s boundaries. Inherited from TcxControl.
BoundsRect Inherited from TControl.
Brush Inherited from TWinControl.
Canvas Provides access to the control’s GDI-based canvas. Inherited from TcxControl.
Caption Inherited from TControl.
ClientBounds Returns the control’s client area. Inherited from TcxControl.
ClientHeight Inherited from TControl.
ClientOrigin Inherited from TControl.
ClientRect Inherited from TControl.
ClientWidth Inherited from TControl.
Color Inherited from TControl.
ComObject Inherited from TComponent.
ComponentCount Inherited from TComponent.
ComponentIndex Inherited from TComponent.
Components Inherited from TComponent.
ComponentState Inherited from TComponent.
ComponentStyle Inherited from TComponent.
Constraints Inherited from TControl.
ControlCount Inherited from TWinControl.
Controls Inherited from TWinControl.
ControlState Inherited from TControl.
ControlStyle Inherited from TControl.
Ctl3D Inherited from TWinControl.
CurrentPPI Inherited from TControl.
Cursor Inherited from TControl.
CustomHint Inherited from TControl.
DesignInfo Inherited from TComponent.
DockClientCount Inherited from TWinControl.
DockClients Inherited from TWinControl.
DockManager Inherited from TWinControl.
DockOrientation Inherited from TControl.
DockSite Inherited from TWinControl.
DoubleBuffered Inherited from TWinControl.
DragAndDropObject Inherited from TcxControl.
DragAndDropObjectClass Inherited from TcxControl.
DragAndDropState Inherited from TcxControl.
DragCursor Inherited from TControl.
DragKind Inherited from TControl.
DragMode Inherited from TControl.
DropTarget Provides access to the target of drag-and-drop operations.
Enabled Inherited from TControl.
ExplicitHeight Inherited from TControl.
ExplicitLeft Inherited from TControl.
ExplicitTop Inherited from TControl.
ExplicitWidth Inherited from TControl.
Floating Inherited from TControl.
FloatingDockSiteClass Inherited from TControl.
FocusedNode Specifies the focused tree node.
FocusOnClick protected Specifies if clicking the control focuses it. Inherited from TcxControl.
Font Inherited from TControl.
Handle Inherited from TWinControl.
Height Inherited from TControl.
HelpContext Inherited from TControl.
HelpKeyword Inherited from TControl.
HelpType Inherited from TControl.
Hint Specifies a hint message for the control. Inherited from TcxControl.
HostDockSite Inherited from TControl.
HScrollBar protected Inherited from TcxControl.
HScrollBarVisible protected Inherited from TcxControl.
Images protected Specifies the source image list.
ImeMode Inherited from TWinControl.
ImeName Inherited from TWinControl.
IsDesigning Indicates if the control is currently being manipulated by the form designer. Inherited from TcxControl.
IsDestroying Indicates if the control is about to be destroyed. Inherited from TcxControl.
IsDrawingLocked Inherited from TWinControl.
IsFocused Identifies if the control is focused. Inherited from TcxControl.
IsLoading Indicates if the control is being loaded. Inherited from TcxControl.
Items Provides access to the tree node collection.
Keys protected Inherited from TcxControl.
Left Inherited from TControl.
LookAndFeel protected Provides access to the control’s look & feel settings. Inherited from TcxControl.
LookAndFeelPainter protected Inherited from TcxControl.
LRDockWidth Inherited from TControl.
Margins Inherited from TControl.
MouseCapture Inherited from TControl.
MouseCaptureObject Provides access to the dragged object during a drag-and-drop operation. Inherited from TcxControl.
MouseDownPos Specifies the mouse pointer position when an OnMouseDown event occurs. Inherited from TcxControl.
MouseInClient Inherited from TWinControl.
Name Inherited from TComponent.
Observers Inherited from TComponent.
OptionsBehavior protected
Owner Inherited from TComponent.
Padding Inherited from TWinControl.
Parent Inherited from TControl.
ParentBackground protected Inherited from TcxControl.
ParentBiDiMode Inherited from TControl.
ParentColor Inherited from TControl.
ParentCtl3D Inherited from TWinControl.
ParentCustomHint Inherited from TControl.
ParentDoubleBuffered Inherited from TWinControl.
ParentFont Inherited from TControl.
ParentShowHint Inherited from TControl.
ParentWindow Inherited from TWinControl.
PixelsPerInch Inherited from TWinControl.
PopupMenu protected Specifies the popup menu associated with the control. Inherited from TcxControl.
RaiseOnNonMainThreadUsage Inherited from TControl.
RedrawDisabled Inherited from TWinControl.
Root Provides access to the tree root.
ScaleFactor Inherited from TControl.
ScrollBars protected Inherited from TcxControl.
Selected Specifies the currently selected node.
SelectionCount Returns the selected node count.
Selections Provides indexed access to selected nodes.
ShowHint Inherited from TControl.
Showing Inherited from TWinControl.
StateImages protected Specifies the source image list for node states.
StyleElements Inherited from TControl.
StyleName Inherited from TControl.
TabOrder Inherited from TWinControl.
TabStop Inherited from TcxControl.
Tag Inherited from TComponent.
TBDockHeight Inherited from TControl.
Text Inherited from TControl.
TipMode Inherited from TWinControl.
Top Inherited from TControl.
TopItem Specifies the topmost visible tree node.
Touch Inherited from TControl.
Transparent protected Specifies if the control is transparent in GDI render mode. Inherited from TcxControl.
UndockHeight Inherited from TControl.
UndockWidth Inherited from TControl.
UseDockManager Inherited from TWinControl.
VCLComObject Inherited from TComponent.
Visible Inherited from TControl.
VisibleDockClientCount Inherited from TWinControl.
VScrollBar protected Inherited from TcxControl.
VScrollBarVisible protected Inherited from TcxControl.
Width Inherited from TControl.
WindowProc Inherited from TControl.

Methods

Name Description
AcceptMousePosForClick(Integer,Integer) Inherited from TcxControl.
AddFontListener(IcxFontListener) Inherited from TcxControl.
AlphaSort(Boolean) Sorts tree nodes by their captions.
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
BeginDrag(Boolean,Integer) Inherited from TControl.
BeginDragAndDrop Inherited from TcxControl.
BeginInvoke(TAsyncConstArrayFunctionEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProc,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProcedureEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncFunctionEvent,TObject) Inherited from TComponent.
BeginInvoke(TAsyncProcedureEvent,TObject) Inherited from TComponent.
BeginInvoke(TProc,TObject) Inherited from TComponent.
BeginInvoke<TResult>(TAsyncConstArrayFunc<TResult>,Untyped[],TObject) Inherited from TComponent.
BeginInvoke<TResult>(TFunc<TResult>,TObject) Inherited from TComponent.
BeginSelect Postpones Tree View node selections until an EndSelect call.
BeginUpdate Prevents Tree View updates until an EndUpdate call.
BringToFront Inherited from TControl.
Broadcast(Untyped) Inherited from TWinControl.
CanFocus Inherited from TWinControl.
CanFocusEx Inherited from TcxControl.
ChangeScale(Integer,Integer) Inherited from TControl.
CheckNonMainThreadUsage Inherited from TControl.
ClearSelection(Boolean) Clear a tree node selection.
Click Inherited from TControl.
ClientToParent(TPoint,TWinControl) Inherited from TControl.
ClientToScreen(TPoint) Inherited from TControl.
ClientToScreen(TRect) Inherited from TControl.
ConstrainedResize(Integer,Integer,Integer,Integer) Inherited from TControl.
ContainsControl(TControl) Inherited from TWinControl.
ControlAtPos(TPoint,Boolean,Boolean,Boolean) Inherited from TWinControl.
CreateParentedControl(HWND) Inherited from TWinControl.
CustomSort(TdxTreeViewNodeCompareProc,NativeInt,Boolean) Sorts tree nodes.
Deselect(TdxTreeViewNode) Deselects the specified tree node.
Deselect(TdxTreeViewNode[]) Deselects the specified tree nodes.
Deselect(TList) Deselects the specified tree nodes.
DestroyComponents Inherited from TComponent.
Destroying Inherited from TComponent.
DisableAlign Inherited from TWinControl.
Dock(TWinControl,TRect) Inherited from TControl.
DockDrop(TDragDockObject,Integer,Integer) Inherited from TWinControl.
DragDrop(TObject,Integer,Integer) Inherited from TControl.
Dragging Inherited from TControl.
DrawTextBiDiModeFlags(Longint) Inherited from TControl.
DrawTextBiDiModeFlagsReadingOnly Inherited from TControl.
EnableAlign Inherited from TWinControl.
EndDrag(Boolean) Inherited from TControl.
EndEdit(Boolean) Closes a node caption’s in-place editor.
EndFunctionInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke<TResult>(IAsyncResult) Inherited from TComponent.
EndSelect Applies all pending selection changes made after a BeginSelect call.
EndUpdate Enables Tree View updates after a BeginUpdate procedure call.
Equals(TObject) Inherited from TObject.
ExecuteAction(TBasicAction) Inherited from TComponent.
ExpandTo(TdxTreeViewNode) Expands all ancestor nodes of the specified tree node.
FindChildControl(String) Inherited from TWinControl.
FindComponent(String) Inherited from TComponent.
FinishDragAndDrop(Boolean) Inherited from TcxControl.
FlipChildren(Boolean) Inherited from TWinControl.
Focused Inherited from TWinControl.
FreeNotification(TComponent) Inherited from TComponent.
FreeOnRelease Inherited from TComponent.
FullCollapse Collapses all nodes in the Tree View.
FullExpand Expands all nodes in the Tree View.
FullRefresh Redraws the Tree View control.
GetChildren(TGetChildProc,TComponent) Inherited from TComponent.
GetControlsAlignment Inherited from TControl.
GetDragImages Inherited from TControl.
GetHashCode Inherited from TObject.
GetHitTestAt(Integer,Integer) Identifies the Tree View‘s element to which the specified point belongs.
GetNamePath Inherited from TPersistent.
GetNodeAtPos(TPoint,TdxTreeViewNode) Returns the tree node to which the specified point belongs.
GetOwner Inherited from TPersistent.
GetParentComponent Inherited from TComponent.
GetSelectedData(TList) Populates the specified list with data from the selected nodes.
GetSelections(TList) Populates the specified list with all selected nodes.
GetStyleName Inherited from TControl.
GetSystemMetrics(Integer) Inherited from TControl.
GetTabControlList(TList) Inherited from TWinControl.
GetTabOrderList(TList) Inherited from TWinControl.
GetTextBuf(PChar,Integer) Inherited from TControl.
GetTextLen Inherited from TControl.
HandleAllocated Inherited from TWinControl.
HandleNeeded Inherited from TWinControl.
HasParent Inherited from TComponent.
Hide Inherited from TControl.
InitiateAction Inherited from TControl.
InsertComponent(TComponent) Inherited from TComponent.
InsertControl(TControl) Inherited from TWinControl.
Invalidate Inherited from TControl.
InvalidateRect(TRect,Boolean) Adds a specified portion of the control’s client area to the window update region. Inherited from TcxControl.
InvalidateRgn(TcxRegion,Boolean) Inherited from TcxControl.
InvalidateWithChildren Inherited from TcxControl.
IsCustomStyleActive Inherited from TControl.
IsEditing Identifies if a node caption’s in-place editor is active.
IsImplementorOf(IInterface) Inherited from TComponent.
IsLightStyleColor(TColor) Inherited from TControl.
IsMouseInPressedArea(Integer,Integer) Inherited from TcxControl.
IsRightToLeft Inherited from TControl.
LoadDataFromFile(string) Loads all Tree View settings from the specified file.
LoadDataFromStream(TStream) Loads all Tree View settings from the specified stream.
Loaded Inherited from TComponent.
LoadFromFile(string,TEncoding) Loads node captions and positions in the Tree View control from the specified plain text file.
LoadFromFile(string) Loads node captions and positions in the Tree View control from the specified plain text file.
LoadFromStream(TStream,TEncoding) Loads node captions and positions in the Tree View control from the specified stream in plain text format.
LoadFromStream(TStream) Loads node captions and positions in the Tree View control from the specified stream in plain text format.
LockDrawing Inherited from TWinControl.
LockScrollBars Inherited from TcxControl.
MakeVisible(TdxTreeViewNode) Expands all ancestor nodes of the specified tree node and brings it into view.
ManualDock(TWinControl,TControl,TAlign) Inherited from TControl.
ManualFloat(TRect) Inherited from TControl.
MouseDown(TMouseButton,TShiftState,Integer,Integer) Inherited from TControl.
MouseMove(TShiftState,Integer,Integer) Inherited from TControl.
MouseUp(TMouseButton,TShiftState,Integer,Integer) Inherited from TControl.
MouseWheelHandler(TMessage) Inherited from TControl.
Notification(TComponent,TOperation) Inherited from TComponent.
PaintTo(HDC,Integer,Integer) Inherited from TWinControl.
PaintTo(TCanvas,Integer,Integer) Inherited from TWinControl.
ParentToClient(TPoint,TWinControl) Inherited from TControl.
Perform(Cardinal,WPARAM,LPARAM) Inherited from TControl.
Perform(Cardinal,WPARAM,PChar) Inherited from TControl.
Perform(Cardinal,WPARAM,TRect) Inherited from TControl.
PostMouseMove Inherited from TcxControl.
PostMouseMove(TPoint) Inherited from TcxControl.
PreProcessMessage(TMsg) Inherited from TWinControl.
Realign Inherited from TWinControl.
ReferenceInterface(IInterface,TOperation) Inherited from TComponent.
Refresh Inherited from TControl.
RemoveComponent(TComponent) Inherited from TComponent.
RemoveControl(TControl) Inherited from TWinControl.
RemoveFontListener(IcxFontListener) Inherited from TcxControl.
RemoveFreeNotification(TComponent) Inherited from TComponent.
Repaint Inherited from TControl.
ReplaceDockedControl(TControl,TWinControl,TControl,TAlign) Inherited from TControl.
SaveDataToFile(string) Saves all Tree View settings to the specified file.
SaveDataToStream(TStream) Saves all Tree View settings to the specified stream.
SaveToFile(string,TEncoding) Saves node captions and positions in the Tree View control to the specified plain text file.
SaveToFile(string) Saves node captions and positions in the Tree View control to the specified plain text file.
SaveToStream(TStream,TEncoding) Saves node captions and positions in the Tree View control to the specified stream.
SaveToStream(TStream) Saves node captions and positions in the Tree View control to the specified stream.
ScaleBy(Integer,Integer) Inherited from TWinControl.
ScaleForPPI(Integer) Inherited from TControl.
ScaleRectSize(TRect) Inherited from TControl.
ScaleValue(Double) Inherited from TControl.
ScaleValue(Integer) Inherited from TControl.
ScaleValue(TPoint) Inherited from TControl.
ScaleValue(TRect) Inherited from TControl.
ScaleValue(TSize) Inherited from TControl.
ScreenToClient(TPoint) Inherited from TControl.
ScreenToClient(TRect) Inherited from TControl.
ScrollBy(Integer,Integer) Scrolls the Tree View control’s content.
ScrollContent(TcxDirection) Inherited from TcxControl.
ScrollWindow(Integer,Integer,TRect) Inherited from TcxControl.
Select(TdxTreeViewNode,TShiftState,Boolean) Selects a specified node in the Tree View.
Select(TdxTreeViewNode[],Boolean) Selects the specified nodes in the Tree View.
Select(TList,Boolean) Selects the specified nodes in the Tree View.
SendToBack Inherited from TControl.
SetBounds(Integer,Integer,Integer,Integer) Inherited from TControl.
SetDesignVisible(Boolean) Inherited from TControl.
SetFocus Inherited from TWinControl.
SetParentComponent(TComponent) Inherited from TComponent.
SetScrollBarInfo(TScrollBarKind,Integer,Integer,Integer,Integer,Integer,Boolean,Boolean) Inherited from TcxControl.
SetSubComponent(Boolean) Inherited from TComponent.
SetTextBuf(PChar) Inherited from TControl.
Show Inherited from TControl.
StartDrag(TDragObject) Inherited from TcxControl.
Subselect(TdxTreeViewNode,Boolean) Adds the specified node to the Tree View’s selection.
SystemInfoChanged(Cardinal) Inherited from TcxControl.
ToString Inherited from TObject.
TranslationChanged Inherited from TcxControl.
UnlockDrawing Inherited from TWinControl.
UnlockScrollBars Inherited from TcxControl.
Update Inherited from TControl.
UpdateAction(TBasicAction) Inherited from TComponent.
UpdateControlState Inherited from TWinControl.
UpdateWithChildren Inherited from TcxControl.
UseRightToLeftAlignment Inherited from TControl.
UseRightToLeftReading Inherited from TControl.
UseRightToLeftScrollBar Inherited from TControl.
WndProc(TMessage) Inherited from TControl.

Events

Name Description
OnAddition protected Allows you to customize settings of a node when it is added to the Tree View.
OnAlignInsertBefore Inherited from TWinControl.
OnAlignPosition Inherited from TWinControl.
OnCancelEdit protected Allows you to perform specific actions every time the Tree View control discards user changes made in an in-place editor.
OnCanFocusNode protected Allows you to prohibit users from focusing a node.
OnCanResize Inherited from TControl.
OnCanSelectNode protected Allows you to prohibit users from selecting a tree node.
OnClick Inherited from TControl.
OnCollapsed protected Allows you to respond to node collapse operations.
OnCollapsing protected Allows you to prohibit users from collapsing a node.
OnCompare protected Allows you to implement a custom node sorting.
OnConstrainedResize Inherited from TControl.
OnContextPopup Inherited from TControl.
OnCustomDraw protected Allows you to override or complement the Tree View control’s draw routine.
OnCustomDrawNode protected Allows you to override or complement the tree node draw routine.
OnDblClick Inherited from TControl.
OnDeletion protected Allows you to perform specific actions every time a node is deleted.
OnDockDrop Inherited from TWinControl.
OnDockOver Inherited from TWinControl.
OnDragDrop Inherited from TControl.
OnDragOver Inherited from TControl.
OnEdited protected Allows you to perform specific actions when a user renames a node in an in-place editor.
OnEditing protected Allows you to prohibit users from opening a node caption’s in-place editor.
OnEndDock Inherited from TControl.
OnEndDrag Inherited from TControl.
OnEnter Inherited from TWinControl.
OnExit Inherited from TWinControl.
OnExpanded protected Allows you to respond to a node expansion.
OnExpanding protected Allows you to prohibit users from expanding a node.
OnFocusChanged protected Inherited from TcxControl.
OnFocusedNodeChanged protected Allows you to perform specific actions when a node receives or loses focus.
OnGesture Inherited from TControl.
OnGetChildren protected Allows you to perform specific actions when the Tree View obtains a node‘s children during a node expand operation.
OnGetEditingText protected Allows you to customize text displayed in an opened in-place editor.
OnGetImageIndex protected Allows you to specify an image for the node.
OnGetSelectedImageIndex protected Allows you to specify the image for the selected node.
OnGetSiteInfo Inherited from TWinControl.
OnHint protected Allows you to show custom text in a node‘s hint.
OnKeyDown Inherited from TWinControl.
OnKeyPress Inherited from TWinControl.
OnKeyUp Inherited from TWinControl.
OnMouseActivate Inherited from TControl.
OnMouseDown Inherited from TControl.
OnMouseEnter protected Occurs when the mouse pointer enters into the control. Inherited from TcxControl.
OnMouseLeave protected Occurs when the mouse pointer leaves the control. Inherited from TcxControl.
OnMouseMove Inherited from TControl.
OnMouseUp Inherited from TControl.
OnMouseWheel Inherited from TControl.
OnMouseWheelDown Inherited from TControl.
OnMouseWheelUp Inherited from TControl.
OnNodeStateChanged protected Allows you to respond to a node‘s checkbox state change.
OnResize Inherited from TControl.
OnSelectionChanged protected Allows you to respond to the Tree View control’s selection changes.
OnStartDock Inherited from TControl.
OnStartDrag Inherited from TControl.
OnUnDock Inherited from TWinControl.
See Also