TdxBarManager.Items Property
Returns a particular item in a bar manager’s collection of items.
Declaration
property Items[Index: Integer]: TdxBarItem read;
Property Value
Type |
---|
TdxBarItem |
Remarks
When a user adds an item to a toolbar the item is added to the bar manager’s zero-based collection of items. Use the Items property to access a particular item in the current bar manager’s collection of items. The Index parameter specifies the item to be accessed.
To get a count of the items within a collection of items use the ItemCount property.
Call the GetItemByCategory, GetAllItemsByCategory and GetItemsByCategory methods to access a bar manager’s items by the category they belong to. Use the GetItemByName method to access a bar item by its name.
See Also