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

ChoiceActionItem(IModelBaseChoiceActionItem) constructor

Creates a new ChoiceActionItem and initializes its Application Model node.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public ChoiceActionItem(
    IModelBaseChoiceActionItem info
)
Public Sub New(
    info As IModelBaseChoiceActionItem
)

Parameters

Name Type Description
info IModelBaseChoiceActionItem

An IModelBaseChoiceActionItem object representing the Application Model node, containing information on the created Choice Action Item. This object is assigned to the ChoiceActionItem.Model property.

Remarks

Use this constructor if you have an Application Model Node that defines the created Choice Action Item. By default, the ActionDesign | Actions | <Action> | ChoiceActionItems | ChoiceActionItem node is used to store information on Choice Action Items.

The specified Application Model node will be used to initialize the ChoiceActionItem.Id, ChoiceActionItem.Caption and ChoiceActionItem.ImageName properties.

If you need to provide an object that will be associated with the created Item, use the constructor with info and data parameters.

See Also