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

BarItem.Name Property

Gets or sets the BarItem‘s name.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[Browsable(false)]
[DefaultValue("")]
public string Name { get; set; }

Property Value

Type Default Description
String String.Empty

The BarItem‘s name.

Remarks

The Name property can be used at runtime to evaluate an object by its name rather than by its type and programmatic name.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Name 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