NavigationBarItemCollection
Wisej.Web.Ext.NavigationBar.NavigationBarItemCollection
Last updated
Was this helpful?
Wisej.Web.Ext.NavigationBar.NavigationBarItemCollection
Last updated
Was this helpful?
Namespace: Wisej.Web.Ext.NavigationBar
Assembly: Wisej.Web.Ext.NavigationBar (3.2.0.0)
Contains a collection of NavigationBarItem objects.
Int32: Returns the number of items in the collection.
NavigationBarItem: Returns or sets a NavigationBarItem in the collection at the specified index.
Throws:
ArgumentOutOfRangeException index is less than zero or greater than the highest available index.
ArgumentNullException value is null.
NavigationBarItem: Returns the NavigationBarItem with the specified key from the collection.
Adds a NavigationBarItem to the collection.
item
Throws:
ArgumentNullException The specified item is null.
Creates a NavigationBarItem with the specified text, and adds it to the collection.
text
Creates a NavigationBarItem with the specified key and text and adds it to the collection.
key
text
Creates a NavigationBarItem with the specified key, text, and image, and adds it to the collection.
key
text
icon
Adds a set NavigationBarItem objects to the collection.
items
Throws:
ArgumentNullException The value of items is null.
Removes all the NavigationBarItem instances from the collection.
Removes and disposes all NavigationBarItem instances from the collection.
dispose
Determines whether a specified NavigationBarItem is in the collection.
item
Returns: Boolean. true if the specified NavigationBarItem is in the collection; otherwise, false.
Throws:
ArgumentNullException The value of item is null.
Determines whether the collection contains a NavigationBarItem with the specified key.
key
Returns: Boolean. true to indicate a NavigationBarItem with the specified key was found in the collection; otherwise, false.
Copies the NavigationBarItem instances in the collection to the specified array, starting at the specified index.
array
The one-dimensional array that is the destination of the items copied from the collection. The array must have zero-based indexing.
index
The zero-based index in the array at which copying begins.
Throws:
ArgumentNullException array is null.
ArgumentOutOfRangeException array is less than zero.
ArgumentException array is multidimensional or the number of elements in the NavigationBarItemCollection is greater than the available space from index to the end of array .
Returns the index of the NavigationBarItem in the collection.
item
Returns: Int32. The zero-based index of the item; -1 if it cannot be found.
Throws:
ArgumentNullException The value of item is null.
Returns the index of the first occurrence of the NavigationBarItem with the specified key.
key
Returns: Int32. The zero-based index of the first occurrence of a NavigationBarItem with the specified key, if found; otherwise, -1.
Inserts an existing NavigationBarItem into the collection at the specified index.
index
item
Creates a new NavigationBarItem with the specified text and inserts it into the collection at the specified index.
index
text
Creates a new NavigationBarItem with the specified key and text, and inserts it into the collection at the specified index.
index
key
text
Creates a NavigationBarItem with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
The name of the item.
text
icon
Removes the NavigationBarItem from the collection.
item
Throws:
ArgumentNullException The item parameter is null.
Removes the NavigationBarItem at the specified index from the collection.
index
Removes the NavigationBarItem with the specified key from the collection.
key
The to add.
The text to display on the .
The name of the .
The text to display on the .
The name of the .
The text to display on the .
The Url or name of the icon to display on the .
An array of type that contains the to add.
Indicates whether to dispose the instances removed from the collection.
The to locate in the collection.
The name of the to search for.
The to locate in the collection.
The name of the to find in the collection.
The zero-based index location where the is inserted.
The to insert in the collection.
The zero-based index location where the is inserted.
The text to display in the .
The zero-based index location where the is inserted.
The name of the .
The text to display on the .
The zero-based index location where the is inserted.
The text to display on the .
The Url or name of the icon to display on the .
The to remove.
The zero-based index of the to remove.
The name of the to remove.