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.MoveItem(Integer,Integer) Method

Moves an item to a new position in a bar manager’s Items collection.

#Declaration

Delphi
procedure MoveItem(CurIndex: Integer; NewIndex: Integer);

#Parameters

Name Type
CurIndex Integer
NewIndex Integer

#Remarks

Bar items are stored in a bar manager’s Items zero-based indexed collection. The MoveItem method moves an item from its current position specified by the CurIndex parameter to the new position specified by the NewIndex parameter.

The total number of items within the bar manager’s Items collection can be obtained using the Items.Count property.

The MoveItem method is called when an item is dragged from one category to another.

See Also