.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

[DefaultValue(null)]
public object Data { get; set; }
<DefaultValue(Nothing)>
Public Property Data As Object
[TypeConverter(typeof(StringConverter))]
[Bindable(true)]
[DefaultValue(null)]
public object Data { get; set; }
<TypeConverter(GetType(StringConverter))>
<Bindable(True)>
<DefaultValue(Nothing)>
Public Property Data As Object

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.

See Also