Skip to main content

SliderImageCollection.IndexOf(Image) Method

Returns an index of the specified Image object within the current SliderImageCollection.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public int IndexOf(
    Image image
)

Parameters

Name Type Description
image Image

An Image object, whose index is to be obtained.

Returns

Type Description
Int32

An integer value that defines an index of the specified Image object within the current SliderImageCollection.

Remarks

To check if the specified image belongs to the current collection, use the SliderImageCollection.Contains property.

See Also