Skip to main content
All docs
V26.1
  • WorkTimeRulesCollection.Insert(Int32, RuleBase) Method

    Adds the rule to the specified position in the collection.

    Namespace: DevExpress.Web.ASPxGantt

    Assembly: DevExpress.Web.ASPxGantt.v26.1.dll

    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