Skip to main content
.NET 6.0+

ChoiceActionItem.Model Property

Provides access to information on a Choice Action Item, which is stored in an Application Model node.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Browsable(false)]
public IModelBaseChoiceActionItem Model { get; }

Property Value

Type Description
IModelBaseChoiceActionItem

An IModelBaseChoiceActionItem object, representing the current Choice Action Item’s ActionDesign | Actions | <Action> | ChoiceActionItems | ChoiceActionItem node.

Remarks

Use the object returned by this property to get or set the current Choice Action Item’s settings, stored in this Application Model.

Note that Choice Action Items are loaded to the Application Model if they are created and added to a Single Choice Action’s ChoiceActionBase.Items collection in the Controller’s constructor or using the ChoiceActionItems Collection Editor (see ChoiceActionItem). When they are added “on the fly”, they are not loaded into the Model.

To learn how to customize the Application Model, refer to the Extend and Customize the Application Model in Code help topic. To learn how to use the Application Model in code, refer to the Access the Application Model in Code help topic.

See Also