Exemplo n.º 1
0
 /// <summary>
 /// Examines the collection for the referenced NavBarItem object and returns the index of the referenced
 /// object (if found)
 /// </summary>
 /// <param name="Item">The NavBarItem object to find</param>
 /// <returns>The index of referenced object.</returns>
 public int IndexOf(NavBarItem Item)
 {
     return(List.IndexOf(Item));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Examines the collection to see if the supplied NavBarItem is contained in the collection
 /// </summary>
 /// <param name="Item">The NavBarItem object to find in the collection</param>
 /// <returns>True if the collection contains the object, false otherwise.</returns>
 public bool Contains(NavBarItem Item)
 {
     return(List.Contains(Item));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Add a new NavBarItem object to the collection at the position given
 /// </summary>
 /// <param name="index">Position in the collection to add the object</param>
 /// <param name="Item">The new NavBarItem object to include</param>
 public void Insert(int index, NavBarItem Item)
 {
     List.Insert(index, Item);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Removes the specified NavBarItem from the collection
 /// </summary>
 /// <param name="Item">The NavBarItem to remove</param>
 public void Remove(NavBarItem Item)
 {
     List.Remove(Item);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Add a new NavBarItem to the collection
 /// </summary>
 /// <param name="NewItem">NavBarItem to add</param>
 /// <returns>The index position of the newly created item</returns>
 public int Add(NavBarItem NewItem)
 {
     return(base.List.Add(NewItem));
 }