NavBarGroupCollection.Add(String, String, String, String, String) Method
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.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
text | String | A String value specifying the group’s display text. Initializes the group’s Nav |
name | String | A String value specifying the name which indentifies the created group. Initializes the group’s Nav |
image |
String | A String value specifying the path to the image displayed by the group’s header. Initializes the Image |
navigate |
String | A String value specifying the URL to which the browser navigates when the group’s text or associated image is clicked. Initializes the group’s Nav |
target | String | A String value which identifies the window or frame at which to target URL content when the group’s text or associated image is clicked. Initializes the group’s Nav |
#Returns
Type | Description |
---|---|
Nav |
A Nav |
#Remarks
Use the Add method to add a new group with the specified settings to the NavBarGroupCollection object.