A newer version of this page is available. Switch to the current version.

BootstrapGridViewCommandColumnCustomButtonCollection.IndexOf(BootstrapGridViewCommandColumnCustomButton) Method

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public int IndexOf(
    BootstrapGridViewCommandColumnCustomButton item
)
Public Function IndexOf(
    item As BootstrapGridViewCommandColumnCustomButton
) As Integer

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