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

ContextItem.Name Property

Gets or sets the current item’s name.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A string value that specifies the current item’s name.

Remarks

The Name property allows you to retrieve the required item by its name in the ContextItemCollection object, accessible using the ContextButtons property of the control that owns the item.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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