Skip to main content

EditorButton.Tag Property

Gets or sets a value that identifies the current button.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Data")]
public virtual object Tag { get; set; }

Property Value

Type Default Description
Object null

A Object that identifies the current EditorButton instance.

Remarks

The Tag property can be used to associate a custom object with the editor button and this can be used to identify the button from among the other buttons.

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