MVCxTimeRulerCollection.Add(TimeRuler) Method

Adds the specified Timeruler to the collection of timerulers.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public TimeRuler Add(
    TimeRuler ruler
)
Public Function Add(
    ruler As TimeRuler
) As TimeRuler

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