Back to Devexpress

NavElement.NavBar Property

windowsforms-devexpress-dot-xtranavbar-dot-navelement-78d7d482.md

latest1.9 KB
Original Source

NavElement.NavBar Property

Gets the control to which the element belongs.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[Browsable(false)]
public NavBarControl NavBar { get; }
vb
<Browsable(False)>
Public ReadOnly Property NavBar As NavBarControl

Property Value

TypeDescription
NavBarControl

A NavBarControl object representing the control to which the element belongs.

|

Remarks

NavBarControls own collections of groups and items. These are accessed by the NavBarControl.Groups and NavBarControl.Items properties. The properties provide access to individual groups and items. However, you can also access the control from an object representing its group or item. Use the NavBar property for this purpose.

See Also

NavBarControl

NavGroupCollection.Item*

NavItemCollection.Item*

NavElement Class

NavElement Members

DevExpress.XtraNavBar Namespace