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

TdxTreeViewNodeTextEvent Type

The text-related procedural type for tree nodes.

#Declaration

Delphi
TdxTreeViewNodeTextEvent = procedure(Sender: TdxCustomTreeView; ANode: TdxTreeViewNode; var AText: string) of object;

#Parameters

Name Type Description
Sender TdxCustomTreeView

The Tree View control that raised a text-related event.

ANode TdxTreeViewNode

The target tree node.

AText string

A text string associated with the target tree node.

#Remarks

The following OnHint event handler displays a string stored in a node’s Data property in the hint:

procedure TForm1.dxTreeViewControl1Hint(Sender: TdxCustomTreeView;
  ANode: TdxTreeViewNode; var AText: string);
begin
  if ANode.Data <> nil then
    try
        AText := string(ANode.Data^);
    except;
    end;
end;

The following Tree View events reference the TdxTreeViewNodeTextEvent type:

See Also