FormatConditionCollectionBase.IndexOf(StyleFormatConditionBase) Method
In This Article
Returns the specified condition’s position within the collection.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual int IndexOf(
StyleFormatConditionBase condition
)
#Parameters
Name | Type | Description |
---|---|---|
condition | Style |
A Style |
#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