Click or drag to resize
ViewDefinitionBaseGetMaxTimeRulerExtent Method
Gets the maximum size of the time ruler in pixels.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView (in Telerik.Windows.Controls.ScheduleView.dll) Version: 2018.1.220.40 (2018.1.220.40)
protected internal virtual double GetMaxTimeRulerExtent(
	double defaultValue


Type: SystemDouble
The default value, provided by the ScheduleView.

Return Value

Type: Double
The minimum size of the time ruler in pixels.
The returned value determines the maximum size of the time ruler in pixels. MaxTimeRulerExtent of 1400 pixels means that the time ruler will be rendered with no more than 1400 pixels no matter how much time it represents. If there is less than 1400 pixels available, it will be squeezed as much as the value returned from the GetMinTimeRulerExtent method allows to.
See Also