NetXP 3.0 Reference

ListBarItemCollection Members

ListBarItemCollection overview

Public Instance Constructors

ListBarItemCollectionOverloaded. Initializes a new instance of the ListBarItemCollection class.

Public Instance Properties

Count (inherited from CollectionBase)Gets the number of elements contained in the CollectionBase instance.
Height Gets the height of all the items within this collection.
ItemOverloaded. Gets the ListBarItem at the specified 0-based index.

Public Instance Methods

Add Adds a ListBarItem object to the group.
AddRange Adds a range of ListBarItem objects to the bar from an array.
Clear (inherited from CollectionBase)Removes all objects from the CollectionBase instance.
Contains Returns true if the specified ListBarItem is contained within this collection, otherwise false.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase)Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData Not implemented.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf Returns the 0-based index of the specified item in the collection if present, -1 otherwise.
Insert Inserts a ListBarItem at the specified index in the bar.
InsertAfter Inserts a ListBarItem immediately after the specified ListBarItem.
InsertBefore Inserts a ListBarItem immediately before the specified ListBarItem.
Remove Removes the specified ListBarItem from the collection.
RemoveAt (inherited from CollectionBase)Removes the element at the specified index of the CollectionBase instance.
SetOwner Enables a deserialized object graph to be associated with a ListBar control.
SortOverloaded. Sorts the items in this collection using the specified comparer.
ToString (inherited from Object)Returns a String that represents the current Object.

Explicit Interface Implementations

ICollection.CopyTo (inherited from CollectionBase) 
IList.Add (inherited from CollectionBase) 
IList.Contains (inherited from CollectionBase) 
IList.IndexOf (inherited from CollectionBase) 
IList.Insert (inherited from CollectionBase) 
IList.Remove (inherited from CollectionBase) 

See Also

ListBarItemCollection Class | NETXP.Controls.Bars Namespace