Skip to main content
.NET 6.0+

WinColumnsListEditor.GetIndexByObject(Object) Method

Returns the index of an object that represents a WinColumnsListEditor.ColumnView‘s row.

Namespace: DevExpress.ExpressApp.Win.Editors

Assembly: DevExpress.ExpressApp.Win.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Win

Declaration

public int GetIndexByObject(
    object obj
)

Parameters

Name Type Description
obj Object

An object that represents a ColumnView‘s row.

Returns

Type Description
Int32

An index of an object that represents a ColumnView‘s row.

Remarks

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

See Also