Skip to main content

FormatConditionCollectionBase.IndexOf(StyleFormatConditionBase) Method

Returns the specified condition’s position within the collection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual int IndexOf(
    StyleFormatConditionBase condition
)

Parameters

Name Type Description
condition StyleFormatConditionBase

A StyleFormatConditionBase object or descendant to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which represents the condition’s position within the collection. -1 if the condition doesn’t belong to the collection.

See Also