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

TdxTreeViewControl Members

A 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. Inherited from TdxCustomTreeView.
AbsoluteItems Provides indexed access to tree nodes. Inherited from TdxCustomTreeView.
AbsoluteVisibleCount Returns the visible node count. Inherited from TdxCustomTreeView.
AbsoluteVisibleItems Provides indexed access to visible tree nodes. Inherited from TdxCustomTreeView.
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 Specifies the Tree View control’s border style.
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. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
FocusOnClick protected Specifies if clicking the control focuses it. Inherited from TcxControl.
Font Inherited from TControl.
Handle Inherited from TWinControl.
Height Specifies the Tree View control’s height, in pixels.
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 Specifies the source image list. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
Keys protected Inherited from TcxControl.
Left Inherited from TControl.
LookAndFeel 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 Provides access to the Tree View control’s behavior settings.
OptionsSelection Provides access to the Tree View control’s selection settings.
OptionsView Provides access to the Tree View control’s appearance settings.
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 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. Inherited from TdxCustomTreeView.
ScaleFactor Inherited from TControl.
ScrollBars protected Inherited from TcxControl.
Selected Specifies the currently selected node. Inherited from TdxCustomTreeView.
SelectionCount Returns the selected node count. Inherited from TdxCustomTreeView.
Selections Provides indexed access to selected nodes. Inherited from TdxCustomTreeView.
ShowHint Inherited from TControl.
Showing Inherited from TWinControl.
StateImages Specifies the source image list for node states. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
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 Specifies the Tree View control’s width, in pixels.
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. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
BeginUpdate Prevents Tree View updates until an EndUpdate call. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
Deselect(TdxTreeViewNode) Deselects the specified tree node. Inherited from TdxCustomTreeView.
Deselect(TdxTreeViewNode[]) Deselects the specified tree nodes. Inherited from TdxCustomTreeView.
Deselect(TList) Deselects the specified tree nodes. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
EndUpdate Enables Tree View updates after a BeginUpdate procedure call. Inherited from TdxCustomTreeView.
Equals(TObject) Inherited from TObject.
ExecuteAction(TBasicAction) Inherited from TComponent.
ExpandTo(TdxTreeViewNode) Expands all ancestor nodes of the specified tree node. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
FullExpand Expands all nodes in the Tree View. Inherited from TdxCustomTreeView.
FullRefresh Redraws the Tree View control. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
GetNamePath Inherited from TPersistent.
GetNodeAtPos(TPoint,TdxTreeViewNode) Returns the tree node to which the specified point belongs. Inherited from TdxCustomTreeView.
GetOwner Inherited from TPersistent.
GetParentComponent Inherited from TComponent.
GetSelectedData(TList) Populates the specified list with data from the selected nodes. Inherited from TdxCustomTreeView.
GetSelections(TList) Populates the specified list with all selected nodes. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
LoadDataFromStream(TStream) Loads all Tree View settings from the specified stream. Inherited from TdxCustomTreeView.
Loaded Inherited from TComponent.
LoadFromFile(string,TEncoding) Loads node captions and positions in the Tree View control from the specified plain text file. Inherited from TdxCustomTreeView.
LoadFromFile(string) Loads node captions and positions in the Tree View control from the specified plain text file. Inherited from TdxCustomTreeView.
LoadFromStream(TStream,TEncoding) Loads node captions and positions in the Tree View control from the specified stream in plain text format. Inherited from TdxCustomTreeView.
LoadFromStream(TStream) Loads node captions and positions in the Tree View control from the specified stream in plain text format. Inherited from TdxCustomTreeView.
LockDrawing Inherited from TWinControl.
LockScrollBars Inherited from TcxControl.
MakeVisible(TdxTreeViewNode) Expands all ancestor nodes of the specified tree node and brings it into view. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
SaveDataToStream(TStream) Saves all Tree View settings to the specified stream. Inherited from TdxCustomTreeView.
SaveToFile(string,TEncoding) Saves node captions and positions in the Tree View control to the specified plain text file. Inherited from TdxCustomTreeView.
SaveToFile(string) Saves node captions and positions in the Tree View control to the specified plain text file. Inherited from TdxCustomTreeView.
SaveToStream(TStream,TEncoding) Saves node captions and positions in the Tree View control to the specified stream. Inherited from TdxCustomTreeView.
SaveToStream(TStream) Saves node captions and positions in the Tree View control to the specified stream. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
ScrollContent(TcxDirection) Inherited from TcxControl.
ScrollWindow(Integer,Integer,TRect) Inherited from TcxControl.
Select(TdxTreeViewNode,TShiftState,Boolean) Selects a specified node in the Tree View. Inherited from TdxCustomTreeView.
Select(TdxTreeViewNode[],Boolean) Selects the specified nodes in the Tree View. Inherited from TdxCustomTreeView.
Select(TList,Boolean) Selects the specified nodes in the Tree View. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
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 Allows you to customize settings of a node when it is added to the Tree View. Inherited from TdxCustomTreeView.
OnAlignInsertBefore Inherited from TWinControl.
OnAlignPosition Inherited from TWinControl.
OnCancelEdit Allows you to perform specific actions every time the Tree View control discards user changes made in an in-place editor. Inherited from TdxCustomTreeView.
OnCanFocusNode Allows you to prohibit users from focusing a node. Inherited from TdxCustomTreeView.
OnCanResize Inherited from TControl.
OnCanSelectNode Allows you to prohibit users from selecting a tree node. Inherited from TdxCustomTreeView.
OnClick Inherited from TControl.
OnCollapsed Allows you to respond to node collapse operations. Inherited from TdxCustomTreeView.
OnCollapsing Allows you to prohibit users from collapsing a node. Inherited from TdxCustomTreeView.
OnCompare Allows you to implement a custom node sorting. Inherited from TdxCustomTreeView.
OnConstrainedResize Inherited from TControl.
OnContextPopup Inherited from TControl.
OnCustomDraw Allows you to override or complement the Tree View control’s draw routine. Inherited from TdxCustomTreeView.
OnCustomDrawNode Allows you to override or complement the tree node draw routine. Inherited from TdxCustomTreeView.
OnDblClick Inherited from TControl.
OnDeletion Allows you to perform specific actions every time a node is deleted. Inherited from TdxCustomTreeView.
OnDockDrop Inherited from TWinControl.
OnDockOver Inherited from TWinControl.
OnDragDrop Inherited from TControl.
OnDragOver Inherited from TControl.
OnEdited Allows you to perform specific actions when a user renames a node in an in-place editor. Inherited from TdxCustomTreeView.
OnEditing Allows you to prohibit users from opening a node caption’s in-place editor. Inherited from TdxCustomTreeView.
OnEndDock Inherited from TControl.
OnEndDrag Inherited from TControl.
OnEnter Inherited from TWinControl.
OnExit Inherited from TWinControl.
OnExpanded Allows you to respond to a node expansion. Inherited from TdxCustomTreeView.
OnExpanding Allows you to prohibit users from expanding a node. Inherited from TdxCustomTreeView.
OnFocusChanged protected Inherited from TcxControl.
OnFocusedNodeChanged Allows you to perform specific actions when a node receives or loses focus. Inherited from TdxCustomTreeView.
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. Inherited from TdxCustomTreeView.
OnGetEditingText Allows you to customize text displayed in an opened in-place editor. Inherited from TdxCustomTreeView.
OnGetImageIndex Allows you to specify an image for the node. Inherited from TdxCustomTreeView.
OnGetSelectedImageIndex Allows you to specify the image for the selected node. Inherited from TdxCustomTreeView.
OnGetSiteInfo Inherited from TWinControl.
OnHint Allows you to show custom text in a node‘s hint. Inherited from TdxCustomTreeView.
OnKeyDown Inherited from TWinControl.
OnKeyPress Inherited from TWinControl.
OnKeyUp Inherited from TWinControl.
OnMouseActivate Inherited from TControl.
OnMouseDown Inherited from TControl.
OnMouseEnter Occurs when the mouse pointer enters into the control. Inherited from TcxControl.
OnMouseLeave 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 Allows you to respond to a node‘s checkbox state change. Inherited from TdxCustomTreeView.
OnResize Inherited from TControl.
OnSelectionChanged Allows you to respond to the Tree View control’s selection changes. Inherited from TdxCustomTreeView.
OnStartDock Inherited from TControl.
OnStartDrag Inherited from TControl.
OnUnDock Inherited from TWinControl.
See Also