Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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