Back to Devexpress

FormatConditionCollectionBase.Contains(StyleFormatConditionBase) Method

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

latest1.9 KB
Original Source

FormatConditionCollectionBase.Contains(StyleFormatConditionBase) Method

Indicates whether the current collection contains the specified style format condition.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual bool Contains(
    StyleFormatConditionBase condition
)
vb
Public Overridable Function Contains(
    condition As StyleFormatConditionBase
) As Boolean

Parameters

NameTypeDescription
conditionStyleFormatConditionBase

A StyleFormatConditionBase object or descendant which represents the style format condition to locate in the collection.

|

Returns

TypeDescription
Boolean

true if the collection contains the specified style format condition; otherwise, false.

|

See Also

IndexOf(StyleFormatConditionBase)

FormatConditionCollectionBase Class

FormatConditionCollectionBase Members

DevExpress.XtraEditors Namespace