Skip to main content
A newer version of this page is available. .

SingleChoiceAction.ItemType Property

Specifies the type of a Single Choice Action’s items from the ChoiceActionBase.Items collection.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

[DefaultValue(SingleChoiceActionItemType.ItemIsMode)]
public SingleChoiceActionItemType ItemType { get; set; }

Property Value

Type Default Description
SingleChoiceActionItemType **ItemIsMode**

A SingleChoiceActionItemType enumeration value identifying a Single Choice Action’s items kind.

Available values:

Name Description
ItemIsMode

Items from a SingleChoiceAction‘s ChoiceActionBase.Items collection represent modes. The SingleChoiceAction’s control indicates the current selection.

ItemIsOperation

Items from a SingleChoiceAction‘s ChoiceActionBase.Items collection represent operations. The SingleChoiceAction’s control does not indicate the current selection.

Remarks

Use this property to specify whether the Single Choice Action’s items represent a mode or an operation. Item type is considered when the Single Choice Action is displayed. When items represent modes, the Action’s control indicates the current selection. For items that represent operations, this functionality is not provided.

Items represent modes

SingleChoiceAction_ItemType_Mode

Items represent operations

SingleChoiceAction_ItemType_Operation

Note

The defined behavior is provided by built-in Action Containers. You can customize this by implementing a custom Action Container.

See Also