Back to Devexpress

NavBarGroup(String) Constructor

windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-dot-ctor-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

NavBarGroup(String) Constructor

Initializes a new instance of the NavBarGroup class, with the specified caption.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public NavBarGroup(
    string caption
)
vb
Public Sub New(
    caption As String
)

Parameters

NameTypeDescription
captionString

A string representing the NavBar group’s caption.

|

Remarks

This constructor creates a new NavBarGroup object and sets its NavElement.Caption property to the specified value. The group created can then be added to a NavBarControl via the NavBarControl.Groups property.

See Also

Groups

NavBarGroup Class

NavBarGroup Members

DevExpress.XtraNavBar Namespace