Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxTreeViewNodeEvent Type

The action procedural type for tree nodes.

#Declaration

Delphi
TdxTreeViewNodeEvent = procedure(Sender: TdxCustomTreeView; ANode: TdxTreeViewNode) of object;

#Parameters

Name Type Description
Sender TdxCustomTreeView

The Tree View control that raised a node action event.

ANode TdxTreeViewNode

The target tree node.

#Remarks

The following OnAddition event handler focuses the added node:

procedure TForm1.dxTreeViewControl1Addition(Sender: TdxCustomTreeView;
  ANode: TdxTreeViewNode);
begin
  ANode.Focused := True;
end;

The following Tree View events reference the TdxTreeViewNodeEvent type:

See Also