Skip to main content

TimeRulerCellViewModel(TimeRulerViewModel, DateTime, TimeSpan) Constructor

Initializes a new instance of the TimeRulerCellViewModel class with the specified settings.

Namespace: DevExpress.Xpf.Scheduling.VisualData

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public TimeRulerCellViewModel(
    TimeRulerViewModel owner,
    DateTime time,
    TimeSpan timeScale
)

Parameters

Name Type Description
owner DevExpress.Xpf.Scheduling.VisualData.TimeRulerViewModel

A TimeRulerViewModel instance that is the timeruler’s View Model.

time DateTime

A DateTime value that is the time cell’s start time.

timeScale TimeSpan

A TimeSpan value that is the time cell’s time interval.

See Also