WorkTimeRulesCollection.Insert(Int32, RuleBase) Method
In This Article
Adds the rule to the specified position in the collection.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | Specifies the zero-based index at which the specified rule should be inserted. If it’s negative or exceeds the number of elements, an exception is raised. |
rule | Rule |
A rule object. |
See Also