Skip to main content

BootstrapGridViewCommandColumnCustomButtonCollection.IndexOf(BootstrapGridViewCommandColumnCustomButton) Method

Returns the zero-based index of the specified button in the collection.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public int IndexOf(
    BootstrapGridViewCommandColumnCustomButton item
)

Parameters

Name Type Description
item BootstrapGridViewCommandColumnCustomButton

A BootstrapGridViewCommandColumnCustomButton object to locate in the collection.

Returns

Type Description
Int32

An integer value representing the position of the specified button in the collection.

Remarks

If the specified button is not found in the collection this method returns -1.

See Also