Skip to main content
All docs
V25.1
  • Tab

    TrackBarItemCollection.IndexOf(TrackBarItem) Method

    Searches for a specific item and returns the item’s position within the item collection.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    public int IndexOf(
        TrackBarItem item
    )

    Parameters

    Name Type Description
    item TrackBarItem

    A TrackBarItem object representing the item to locate in the collection.

    Returns

    Type Description
    Int32

    The item’s position in the item collection. -1 if the collection does not contain the specified item.

    See Also