ASPxGridListEditor.GetIndexByObject(Object) Method

Returns the index of an object that represents a ASPxGridListEditor.Grid's row.

Namespace: DevExpress.ExpressApp.Web.Editors.ASPx

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

Declaration

public int GetIndexByObject(
    object obj
)
Public Function GetIndexByObject(
    obj As Object
) As Integer

Parameters

Type Name Description
Object obj

An object that represents a Grid's row.

Returns

Type Description
Int32

An index of an object that represents a Grid's row.

Remarks

This method is not intended to be called from your code. It is implemented as a part of the IControlOrderProvider interface. The ASPxGridListEditor implements this interface to support the RecordsNavigationController's Actions for the Views that use this List Editor.

See Also