Back to Devexpress

FormatConditionCollectionBase.IndexOf(StyleFormatConditionBase) Method

windowsforms-devexpress-dot-xtraeditors-dot-formatconditioncollectionbase-dot-indexof-x28-devexpress-dot-xtraeditors-dot-styleformatconditionbase-x29.md

latest1.9 KB
Original Source

FormatConditionCollectionBase.IndexOf(StyleFormatConditionBase) Method

Returns the specified condition’s position within the collection.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual int IndexOf(
    StyleFormatConditionBase condition
)
vb
Public Overridable Function IndexOf(
    condition As StyleFormatConditionBase
) As Integer

Parameters

NameTypeDescription
conditionStyleFormatConditionBase

A StyleFormatConditionBase object or descendant to locate in the collection.

|

Returns

TypeDescription
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

Contains(StyleFormatConditionBase)

FormatConditionCollectionBase Class

FormatConditionCollectionBase Members

DevExpress.XtraEditors Namespace