Skip to main content

ContextItemCollection.IndexOf(ContextItem) Method

Returns a ContextItem‘s index within a collection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public int IndexOf(
    ContextItem item
)

Parameters

Name Type Description
item ContextItem

A ContextItem whose index needs to be determined.

Returns

Type Description
Int32

A ContextItem‘s index.

See Also