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