NavItemCollection.Add(Boolean) Method
Creates a new item and adds it to the end of the collection.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.1.dll
NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation
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