Click or drag to resize
TimeRulerViewModel Class
A ViewModel class for the TimeRuler. Contains properties and methods which define the TimeRuler.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView (in Telerik.Windows.Controls.ScheduleView.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class TimeRulerViewModel : ViewModelBase

The TimeRulerViewModel type exposes the following members.

Constructors
  NameDescription
Public methodTimeRulerViewModel
Initializes a new instance of the TimeRulerViewModel class.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViewModelBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from ViewModelBase.)
Public methodGenerateDates
Generates the dates included in the TimeRuler.
Public methodNextDate
Gets the next date of the TimeRuler based on the LargeScaleMode.
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodVerifyPropertyName
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build.
(Inherited from ViewModelBase.)
Top
Properties
  NameDescription
Public propertyDates
Gets the Dates included in the TimeRuler.
Public propertyDateSpan
Gets the DateSpan of TimeRuler.
Public propertyLargeScaleMode
Gets the LargeScaleMode of the TimeRuler.
Public propertyMajorTickLength
Gets the MajorTickLength of the TimeRuler.
Public propertyMinorTickLength
Gets the MinorTickLength of the TimeRuler.
Public propertyPixelLength
The "zoom" level. Changing this will occasionally regenerate the ticks.
Top
Events
  NameDescription
Public eventPropertyChanged
Raised when a property on this object has a new value.
(Inherited from ViewModelBase.)
Top
See Also