Back to Devexpress

FormatRuleCollection<T, TColumnType>.IndexOfRule(FormatRuleBase) Method

windowsforms-devexpress-dot-xtraeditors-dot-formatrulecollection-2-dot-indexofrule-x28-devexpress-dot-xtraeditors-dot-formatrulebase-x29.md

latest1.5 KB
Original Source

FormatRuleCollection<T, TColumnType>.IndexOfRule(FormatRuleBase) Method

Returns the zero-based index of the specified rule in the collection.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public int IndexOfRule(
    FormatRuleBase rule
)
vb
Public Function IndexOfRule(
    rule As FormatRuleBase
) As Integer

Parameters

NameTypeDescription
ruleFormatRuleBase

An object to locate in the collection.

|

Returns

TypeDescription
Int32

An integer value that specifies the position of the rule in the collection.

|

See Also

FormatRuleCollection<T, TColumnType> Class

FormatRuleCollection<T, TColumnType> Members

DevExpress.XtraEditors Namespace