NavItemCollection.Add(Boolean) Method
Creates a new item and adds it to the end of the collection.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v25.1.dll
NuGet Package: DevExpress.Win
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| isSeparator | Boolean | A Boolean value that specifies whether to create a separator instead of a regular item. |
Returns
| Type | Description |
|---|---|
| NavBarItem | Returns the newly created NavBarItem or NavBarSeparatorItem. |
Remarks
The Add method is used to create a new item and add it to the end of the collection. If the isSeparator parameter is set to false, the NavBarItem is created; if true, the NavBarSeparatorItem is created.
See Also