Skip to main content
.NET Framework 4.5.2+

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.v22.1.dll


public IModelBaseChoiceActionItem Model { get; }

Property Value

Type Description

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


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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Model property.


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