Skip to main content

MultiEditorRowPropertiesCollection.IndexOf(Object) Method

Searches for a specific row item object and returns the zero-based index of the first occurrence within the MultiEditorRow.PropertiesCollection.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll


public int IndexOf(
    object rowProperties


Name Type Description
rowProperties Object

A MultiEditorRowProperties object representing the row item to locate within the collection.


Type Description

The zero-based index of the first occurrence of a specific row item within the row item collection, if found; otherwise -1.


The IndexOf method enables you to determine where the row item specified by the row parameter is located within the rows collection represented by the MultiEditorRow.PropertiesCollection property. Each row item is a MultiEditorRowProperties class instance representing an individual row properties object for a multi-editor row.

This method searches the row item collection for the specified row item and if found returns the Index value of the first occurrence. If no instance is found, a -1 is returned. The collection of row items is searched forward beginning with the first element and ending with the last one.

See Also