Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public bool Contains(
    object rowProperties
)

#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.

See Also