TdxBarManager.GetCountByCategory(Integer) Method
Returns the number of items (excluding TdxBarControlContainerItem items) that are currently accessible to end-users in a specified category.
Declaration
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