NavBarGroupCollection.Add(String, String, String) Method

Adds a new group to the collection and specifies the group’s display text, name and associated image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public NavBarGroup Add(
    string text,
    string name,
    string imageUrl


Name Type Description
text String

A String value specifying the group’s display text. Initializes the group’s NavBarGroup.Text property.

name String

A String value specifying the name which indentifies the created group. Initializes the group’s NavBarGroup.Name property.

imageUrl String

A String value specifying the path to the image displayed by the group’s header. Initializes the ImagePropertiesBase.Url property of the group’s NavBarGroup.HeaderImage.


Type Description

A NavBarGroup object representing the newly created group.


Use the Add method to add a new group with the specified settings to the NavBarGroupCollection object.

See Also