Skip to main content
.NET 8.0+

ChoiceActionItemCollection.Insert(Int32, ChoiceActionItem) Method

Inserts a ChoiceActionItem into the ChoiceActionItemCollection at the specified index.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void Insert(
    int index,
    ChoiceActionItem item
)

Parameters

Name Type Description
index Int32

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

item ChoiceActionItem

The ChoiceActionItem to insert.

Remarks

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

See Also