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
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Object | The Multi |
#Returns
Type | Description |
---|---|
Boolean | true if the specified row item is contained within the Multi |
#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.