The TimeScale object shows the control's time scale in red:
The TimeScale object supports the following properties and methods:
Name | Description | |||
AlignLeft | Specifies whether the time scale is aligned to left or to the right of the scheduler. | |||
AllowResize | Specifies whether the user can resize the TimeScale object. | |||
BackColor | Specifies the TimeScale's background color. | |||
Caption | Indicates the caption to be displayed on the TimeScale's header. | |||
CaptionAlign | Indicates the alignment of the TimeScale's caption. | |||
CaptionBackColor | Specifies the background color for the TimeScale's caption. | |||
CaptionForeColor | Specifies the foreground color for the TimeScale's caption. | |||
ForeColor | Specifies the TimeScale's foreground color. | |||
Index | Indicates the index of the time scale object in the TimeScales collection. | |||
MajorLabelColor | Specifies the foreground color to display the labels of major rulers. | |||
MajorTimeLabel | Indicates the label to be displayed on the major ruler of the current TimeScale object. | |||
MajorTimeLabelPlainText | Specifies whether the major label is a plain text or a formatted HTML text. | |||
MajorTimeRuler | Indicates the major increment for the current time scale. | |||
MaxWidth | Gets or sets a value that indicates the maximum width for the current TimeScale object. | |||
MinorLabelColor | Specifies the foreground color to display the labels of minor rulers. | |||
MinorTimeLabel | Indicates the label to be displayed on the minor ruler of the current TimeScale object. | |||
MinorTimeLabelPlainText | Specifies whether the minor label is a plain text or a formatted HTML text. | |||
MinorTimeRuler | Indicates the minor increment for the current time scale. | |||
MinWidth | Gets or sets a value that indicates the minimum width for the current TimeScale object. | |||
Position | Gets or sets the position of the current time scale. | |||
RulerBackColor | Specifies the background color for TimeScale's ruler. | |||
TimeZone | Indicates the time zone for the current time scale. | |||
ToolTip | Indicates the tooltip of the TimeScale object. | |||
UserData | Indicates any extra data associated with the TimeScale object. | |||
Visible | Specifies whether the TimeScale is visible or hidden. | |||
Width | Gets or sets a value that indicates the TimeScale's width, in pixels. |