TdxBarItemLinks Members
TdxBarItemLinks represents a collection of TdxBarItemLink elements in bar controls or subitems.Constructors
| Name | Description |
|---|---|
| Create(TdxBarManager,IdxBarLinksOwner) | Creates a TdxBarItemLinks instance. |
| Create(TCollectionItemClass) | Inherited from TCollection. |
Properties
| Name | Description |
|---|---|
| AvailableItemCount | Returns the number of items in the AvailableItems array. |
| AvailableItems | Presents an indexed array of TdxBarItemLink elements with items that may be placed onto a toolbar. |
| BarControl | Specifies the bar control that owns the item control specified in the TdxBarItemLink object. |
| BarManager | Specifies the TdxBarManager to which a given TdxBarItemLinks object belongs. |
| CanVisibleItemCount | Returns the number of items in the CanVisibleItems array. |
| CanVisibleItems | Presents an indexed array of TdxBarItemLink elements with visible and potential items. |
| Capacity | Inherited from TCollection. |
| Count | Inherited from TCollection. |
| ItemClass | Inherited from TCollection. |
| ItemOptions | Provides access to display settings of links contained within this collection. |
| Items | Provides zero-based indexed access to TdxBarItemLink elements. |
| Owner | Returns the owner of a given TdxBarItemLinks object. |
| RealVisibleItemCount | Returns the number of visible item links belonging to a given item links collection. |
| UpdateCount | Inherited from TCollection. |
| VisibleItemCount | Returns the number of items in the VisibleItems array. |
| VisibleItems | VisibleItems is an indexed array of TdxBarItemLink elements with visible items. |
Methods
| Name | Description |
|---|---|
| Add | |
| Add(TdxBarItem) | Adds a new TdxBarItemLink element to the end of the current collection. |
| AddButton | Creates a TdxBarButton and a link to it and appends this link to the current collection. |
| AddItem(TdxBarItemClass) | Creates an instance of the AItemClass item and a link to it and appends this link to the current collection. |
| AddSubItem | Creates a TdxBarSubItem and a link to it and appends this link to the current collection. |
| Assign(TPersistent) | Inherited from TPersistent. |
| AssignTo(TPersistent) | Inherited from TPersistent. |
| AvailableIndexOf(TdxBarItemLink) | Returns the position of a specified TdxBarItemLink in the AvailableItems array. |
| BeginUpdate | Inherited from TCollection. |
| CanContainItem(TdxBarItem,string) | |
| CanContainItem(TdxBarItem) | |
| CanVisibleIndexOf(TdxBarItemLink) | Returns the position of a specified TdxBarItemLink in the CanVisibleItems array. |
| Clear | Inherited from TCollection. |
| ClearAndResetID | Inherited from TCollection. |
| CreateBarControl | Specifies the bar control created with information stored in TdxBarItemLinks. |
| Delete(Integer) | Inherited from TCollection. |
| DestroyBarControl | Destroys the bar control containing item controls that correspond to the current item links. |
| DestroyBarItems | |
| EndUpdate | Inherited from TCollection. |
| Equals(TObject) | Inherited from TObject. |
| FindByItem(TdxBarItem) | |
| FindItemID(Integer) | Inherited from TCollection. |
| First | |
| FreeForeignItems(TdxBarManager) | Disposes items of another bar manager whose item links are stored in the current item link collection. |
| GetHashCode | Inherited from TObject. |
| GetNamePath | Inherited from TPersistent. |
| GetOwner | Inherited from TPersistent. |
| HasItem(TdxBarItem) |
Deprecated. This procedure exists for backward compatibility only. Tip Call the IsReferencedBy function instead of |
| IndexOf(TdxBarItemLink) | Returns the position of the bar item specified by the Value parameter in the Items zero-based indexed collection. The index of the first item link in the collection is 0. |
| Insert(Integer) | Creates a new TdxBarItemLink instance and inserts it into the TdxBarItemLinks collection at a position specified by the zero-based AIndex parameter. |
| IsControlExists(TdxBarItemControl) | |
| IsReferencedBy(IdxBarLinksOwner) | Returns True when the specified ALinksOwner contains the current TdxBarItemLinks collection, or references at least one item within this collection. |
| Last | |
| Move(Integer,Integer) | Moves the TdxBarItemLink element from ACurIndex to ANewIndex in the TdxBarItemLinks collection. |
| Next(TdxBarItemLink,Boolean) | |
| Prev(TdxBarItemLink,Boolean) | |
| Sort(IComparer<TCollectionItem>) | Inherited from TCollection. |
| ToString | Inherited from TObject. |
| VisibleIndexOf(TdxBarItemLink) | Returns position of a specified TdxBarItemLink in the VisibleItems array. |
Events
| Name | Description |
|---|---|
| OnChange | The OnChange event is generated when adding or deleting elements from TdxBarItemLinks. |
See Also