Skip to main content

TdxBreadcrumbEditNode.AddChild(string,string,TcxImageIndex,Pointer) Method

Adds a child node.

Declaration

function AddChild(const AName: string; const ADisplayName: string; AImageIndex: TcxImageIndex = -1; AData: Pointer = nil): TdxBreadcrumbEditNode; overload;

Parameters

Name Type
AName string
ADisplayName string
AImageIndex TcxImageIndex
AData Pointer

Returns

Type
TdxBreadcrumbEditNode

Remarks

This function creates a new node with specified settings, appends it to the Items collection, and returns the created node as the function’s result.

The AName, ADisplayName, AImageIndex, and AData parameters initialize the node’s Name, DisplayName, ImageIndex, and Data properties, respectively.

See Also