WorkTimeRulesCollection.IndexOf(RuleBase) Method
Returns the specified rule’s position in the collection.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| rule | RuleBase | A rule object. |
Returns
| Type | Description |
|---|---|
| Int32 | Specifies the rule’s position in the collection. -1 if the collection doesn’t contain the specified rule. |
See Also