ChoiceActionItemCollection.Insert(Int32, ChoiceActionItem) Method

Inserts a ChoiceActionItem into the ChoiceActionItemCollection at the specified index.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public void Insert(
    int index,
    ChoiceActionItem item
)

Parameters

Type Name Description
Int32 index

The zero-based index at which the ChoiceActionBase should be inserted.

ChoiceActionItem item

The ChoiceActionItem to insert.

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