MultiEditorRowPropertiesCollection.Contains(Object) Method
Determines whether a specific row item is a member of the MultiEditorRow.PropertiesCollection.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
rowProperties | Object | The MultiEditorRowProperties object, to locate in the row item collection. |
Returns
Type | Description |
---|---|
Boolean | true if the specified row item is contained within the MultiEditorRow.PropertiesCollection; otherwise false. |
Remarks
This method enables you to determine whether a specific row item represented by a row properties object is a member of the MultiEditorRow.PropertiesCollection. For instance, you can make use of the Contains method to determine if the specified row item exists before attempting to perform operations on it. So this method can be useful when confirming that a row item has been added to or is still a member of the collection.
This method performs a linear search; therefore, the average execution time is proportional to MultiEditorRowPropertiesCollection.Count.