Skip to main content
All docs
V25.2
  • PresentationCollectionBase<T>.IndexOf(T) Method

    Returns the position of the specified item in the collection.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public int IndexOf(
        T item
    )

    Parameters

    Name Type Description
    item T

    The item to locate in the collection.

    Returns

    Type Description
    Int32

    The zero-based index of the item in the collection, or -1 if the item is not found.

    See Also