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

MenuItem.Name Property

Gets or sets the unique identifier name for the current menu item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A string value that specifies the item’s unique identifier name.

Remarks

The Name property specifies the unique identifier name for the current menu item. This property can be used at runtime to obtain a particular item specified by its unique identifier name (via the MenuItemCollection.FindByName method) rather than by its index and display text.

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