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

Returns the number of items (excluding TdxBarControlContainerItem items) that are currently accessible to end-users in a specified category.

#Declaration

Delphi
function GetCountByCategory(ACategory: Integer): Integer;

#Parameters

Name Type
ACategory Integer

#Returns

Type
Integer

#Remarks

The ACategory parameter specifies the index of a category within the bar manager’s Categories zero-based indexed collection.

If the index is out of range, the GetCountByCategory function returns 0.

The GetCountByCategory function returns only the number of items that are accessible to end-users in a specified category. To get the total number of items in a particular category, use the GetAllItemsByCategory function.

See Also