Skip to main content
A newer version of this page is available. .
Bar

BarManager.Items Property

Provides access to the BarManager’s collection of items.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[Browsable(false)]
[XtraSerializableProperty(XtraSerializationVisibility.Collection, false, true, false, -2)]
public BarItems Items { get; }

Property Value

Type Description
BarItems

A BarItems object representing the BarManager’s collection of bar items.

Remarks

The Items property enables you to obtain a reference to the list of items that are currently stored in a BarManager control. With this reference, you can add, remove and access individual items. Refer to the Bar Item Links document for more information.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Items property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also