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

TdxBarManager.AddItem(TdxBarItemClass) Method

Creates an instance of the AClass item and adds it to the current bar manager.

#Declaration

Delphi
function AddItem(AClass: TdxBarItemClass): TdxBarItem;

#Parameters

Name Type
AClass TdxBarItemClass

#Returns

Type
TdxBarItem

#Remarks

You can use this method to instantiate any bar item (for example, a button or an editor), which belongs to the TdxBarItem family.

AClass specifies the type of a particular item to be created.

This function returns a reference to the newly created item.

See Also