Skip to main content
A newer version of this page is available. .
Bar

BarItemLinkCollection Methods

Represents a collection of links.
Name Description
Add(BarItem, Boolean, String, String, Boolean, Boolean) Creates a new item link with the specific settings, and places it into this collection.
Add(BarItem, Boolean, String, String, Boolean) Creates a link to the specified bar item with the specified Key Tips, and adds it to the end of the collection. The method enables you to specifiy whether the created link starts a group, and whether it must be arranged in the same manner as a BarButtonGroup.
Add(BarItem, Boolean, String, String) Creates a link to the specified bar item with the specified Key Tips, and adds it to the end of the collection. The method enables you to specifiy whether the created link starts a group.
Add(BarItem, Boolean, String) Adds a new item link to the collection.
Add(BarItem, Boolean) Adds a new item link to the collection.
Add(BarItem, String, String) Creates a link to the specified bar item with the specified Key Tips, and adds it to the end of the collection.
Add(BarItem, String) Adds a link to the specified bar item and key tip, and adds it to the end of the collection.
Add(BarItem) Creates a link to the specified bar item and adds it to the end of the collection.
AddRange(BarItem[]) Creates an array of links to the specified bar items and adds them to the end of the collection.
AddRange(IEnumerable<BarItem>) Adds BarItemLinks for each of the target BarItem objects.
Assign(BarItemLinkCollection) Copies item links from the source collection to the current collection.
Clear() Removes all item links from the collection.
Contains(BarItemLink) Indicates whether the collection contains the specified link. Inherited from BarItemLinkReadOnlyCollection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. Inherited from ReadOnlyCollectionBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetRecentLink(Int32) Returns a recently used item link by its index. Inherited from BarItemLinkReadOnlyCollection.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(BarItemLink) Returns the specified link’s position within the collection. Inherited from BarItemLinkReadOnlyCollection.
Insert(BarItemLink, BarItem) Creates a new link to the specified bar item and adds it before the specified link in the collection.
Insert(Int32, BarItem) Creates a new link to the specified bar item and adds it to the specified position within the collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(BarItemLink) Removes a link from the collection.
RemoveAt(Int32) Removes the link at the specified position from the collection.
ICollection.CopyTo(Array, Int32) Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. Inherited from ReadOnlyCollectionBase.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also