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: 2017.3.913.40 (2017.3.913.40)
Syntax
protected internal virtual double GetMaxTimeRulerExtent(
	double defaultValue
)

Parameters

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

Return Value

Type: Double
The minimum size of the time ruler in pixels.
Remarks
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