Skip to main content

MVCxTimeRulerCollection.Add(TimeRuler) Method

Adds the specified Timeruler to the collection of timerulers.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public TimeRuler Add(
    TimeRuler ruler
)

Parameters

Name Type Description
ruler TimeRuler

A TimeRuler instance to display in the view.

Returns

Type Description
TimeRuler

A TimeRuler object that is the newly added timeruler.

Remarks

A single timeruler is displayed, by default, in the Day view or Work-Week View. Use the Add method to display an additional TimeRuler.

See Also