Bar
A newer version of this page is available. Switch to the current version.

BarListItem.Strings Property

Provides access to a collection that stores items for the current BarListItem object.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Content")]
public virtual Strings Strings { get; }

Property Value

Type Description
Strings

The Strings collection containing items for the current BarListItem object.

Remarks

A BarListItem object is intended to display a list of strings. Use the Strings property to add items to the BarListItem object.

The following code adds three items to a BarListItem object:


barListItem1.Strings.Add("Item1");
barListItem1.Strings.Add("Item2");
barListItem1.Strings.Add("Item3");
See Also