Back to Devexpress

NavElement Class

windowsforms-devexpress-dot-xtranavbar-8a93d6fd.md

latest2.6 KB
Original Source

NavElement Class

Implements the common functionality of groups and items.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public class NavElement :
    ComponentCollectionItem,
    ICaptionSupport,
    IAppearanceOwner,
    IXtraSerializableLayoutEx,
    IDXImageUriClient
vb
Public Class NavElement
    Inherits ComponentCollectionItem
    Implements ICaptionSupport,
               IAppearanceOwner,
               IXtraSerializableLayoutEx,
               IDXImageUriClient

Remarks

NavBarControl maintain collections of groups and items. Groups and items have some common features. For instance, each can display a text caption, large or small images, etc. These common features are implemented in the NavElement class.

The NavElement object supports the ICollectionItem interface since both of its descendants serve as items within collections. The NavBarGroup class represents an item of the NavGroupCollection collection. The NavBarItem class represents an item of the NavItemCollection collection.

Implements

ICollectionItem

Inheritance

Object MarshalByRefObject Component ComponentCollectionItem NavElement NavBarGroup

NavBarItem

See Also

NavElement Members

Groups

Items

NavBarGroup

NavBarItem

DevExpress.XtraNavBar Namespace