Skip to main content
.NET Framework 4.6.2+

ChoiceActionItem.Data Property

Specifies the object which is associated with a Choice Action Item of a custom Action.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[TypeConverter(typeof(StringConverter))]
[Bindable(true)]
[DefaultValue(null)]
public object Data { get; set; }

Property Value

Type Default Description
Object null

An Object which is associated with the current Choice Action Item of a custom Action.

Remarks

The Data property can be used to associate particular object with the Choice Action Item of a custom Action. Do not use this property to access or set an object for built-in Actions.

When setting a value to this property, the ChoiceActionBase.ItemsChanged event is raised.

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