Skip to main content
.NET 8.0+

ChoiceActionItemCollection.IndexOf(ChoiceActionItem) Method

Returns the zero-based index of a ChoiceActionItem in the ChoiceActionItemCollection.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public int IndexOf(
    ChoiceActionItem item
)

Parameters

Name Type Description
item ChoiceActionItem

A ChoiceActionItem to locate in the ChoiceActionItemCollection.

Returns

Type Description
Int32

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

See Also