Tab

NavBarGroupCollection Members

Represents a collection of groups within the navbar control.

Constructors

Name Description
NavBarGroupCollection() Initializes a new instance of the NavBarGroupCollection class.
NavBarGroupCollection(ASPxNavBar) Initializes a new instance of the NavBarGroupCollection class specifying its owner.

Properties

Name Description
Count Gets the number of items contained within the collection. Inherited from StateManagedCollectionBase.
IsEmpty Gets a value indicating whether the collection is empty. Inherited from StateManagedCollectionBase.
Item[Int32] Provides indexed access to individual items within the Collection<T>. Inherited from Collection<T>.
Owner Gets the collection’s owner. Inherited from Collection.

Methods

Name Description
Add() Adds a new group to the end of the collection and returns the newly created object.
Add(T) Adds the specified element to the end of the collection. Inherited from Collection<T>.
Add(T[]) Adds the specified elements to the end of the collection. Inherited from Collection<T>.
Add(String) Adds a new group to the collection and specifies the group’s display text.
Add(String, String) Adds a new group to the collection and specifies the group’s display text and name.
Add(String, String, String) Adds a new group to the collection and specifies the group’s display text, name and associated image.
Add(String, String, String, String) Adds a new group to the collection and specifies the group’s display text, name, associated image and URL.
Add(String, String, String, String, String) Adds a new group to the collection and specifies the group’s display text, name, associated image and URL as well as the target of the URL content.
AddRange(IEnumerable<T>) Adds a collection of items to the end of the collection. Inherited from Collection<T>.
Assign(IAssignableCollection) Copies the items from the specified IAssignableCollection-supported object to the current object. Inherited from Collection.
Clear() Clears the collection by removing all its items. Inherited from StateManagedCollectionBase.
CollapseAll() Collapses all groups that belong to the collection.
CollapseAll(NavBarGroup) Collapses all groups but the specified one.
Contains(T) Determines whether the collection contains the specified item. Inherited from Collection<T>.
ConvertAll<TOutput>(Converter<T, TOutput>) For internal use only. Inherited from Collection<T>.
CopyTo(T[], Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object. Inherited from Collection<T>.
CopyTo(Array, Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object. Inherited from StateManagedCollectionBase.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ExpandAll() Expands all groups which belong to the current collection.
Find(Predicate<T>) Returns the first element that matches the conditions defined by the specified predicate. Inherited from Collection<T>.
FindAll(Predicate<T>)