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

Populates a list with the items (both accessible and inaccessible to end-users) in a specified category and returns the number of items in this list.

#Declaration

Delphi
function GetAllItemsByCategory(ACategory: Integer; List: TList): Integer;

#Parameters

Name Type
ACategory Integer
List TList

#Returns

Type
Integer

#Remarks

This function clears the list passed as the List parameter and then populates it with the items of the category specified by the ACategory parameter. The GetAllItemsByCategory function returns the number of items within the list. If the specified category does not exist, the function returns 0 and an empty list.

Call the bar manager’s GetItemsByCategory function to return only the items that are currently accessible to end-users in the specified category.

See Also