Skip to main content

TdxBarItemLinks.Add(TdxBarItem) Method

Adds a new TdxBarItemLink element to the end of the current collection.

Declaration

function Add(AItem: TdxBarItem): TdxBarItemLink; overload;

Parameters

Name Type
AItem TdxBarItem

Returns

Type
TdxBarItemLink

Remarks

This method creates an instance of the TdxBarItemLink, appends it to the current collection and returns a reference to the newly created TdxBarItemLink instance.

The second form of the method associates a new link with the specified item.

The AItem parameter references a TdxBarItem instance that the link will be created to.

See Also