Scheduler for WinForms | ComponentOne
Appearance and Styling / Schedule Visual Style Settings / Day View Node / Time Ruler Node
In This Topic
    Time Ruler Node
    In This Topic

    Through the Time Ruler node of the Visual Style dialog box, you can set the font and border properties for the time ruler.

    The following properties are available through the Time Ruler node: 

    Tab Property Description
    Time Ruler Show minute line Displays the minute line when checked.
    Hours font Sets the font for the hours.
    Minutes font Sets the font for the minutes.
    Time format Sets the format for the time. Available formats include:
    • T - Displays the hour, minute, and second range, as well as the A.M./P.M. designator. For example, 8:00:00 AM.
    • t - Displays the hour and minute range. For example, 8:00.
    • h mm - Displays the hour in the range 0-23 and the minute in the range 0-59. If the minute is a single digit (0-9), it is formatted with a preceding 0 (01-09). For example, 8 00.
    • h tt - Displays the hour in the range 1-12 and the A.M./P.M. designator. For example, 8 AM.
    Appearance Text color Sets the text color for the time ruler.
    Padding Sets the padding around the time text.
    Border Sets the border width for the time ruler.
    Border color Sets the border color for the time ruler.
    Alignment Sets the alignment for the time ruler text.
    Background Background color Sets the background color for the time ruler.
    Gradient color Sets the background gradient color.
    Gradient Sets the background gradient mode.
    Gamma correction Applies gamma correction to the background gradient when checked.
    Gradient center Sets the center of the gradient background.
    Gradient blend Sets the Drawing.Drawing2D.Blend used to paint the background gradient.
    Image Sets the background image.
    See Also