ChoiceActionItemCollection.Add(Object) Method

Adds a Choice Action Item to the ChoiceActionItemCollection.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public int Add(
    object value
)

Parameters

Type Name Description
Object value

An object which represents the ChoiceActionItem to add.

Returns

Type Description
Int32

The zero-based index of the added ChoiceActionItem in the ChoiceActionItemCollection.

If the ChoiceActionItemCollection already contains the specified ChoiceActionItem, the item will not be added.