Skip to main content

WorkTimeRulesCollection.Insert(Int32, RuleBase) Method

Adds the rule to the specified position in the collection.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void Insert(
    int index,
    RuleBase rule
)

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 RuleBase

A rule object.

See Also