Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / C1.Win.C1Schedule.UI Namespace / Palette Class / CreateOffice2007Palette Method
The System.Drawing.Color value which is used for displaying background of free hours and selected days and the working hour horizontal light borders.
The System.Drawing.Color value which is used for displaying the free and working hour horizontal borders, alternate month days background and all-day area background.
The System.Drawing.Color value which is used for displaying the free hour horizontal light borders.
The System.Drawing.Color value which is used for displaying day header borders.
The System.Drawing.Color value which is used for displaying the day header.
The System.Drawing.Color value which is used for displaying gradient color of the day header.
The System.Drawing.Color value which is used for displaying vertical borders in the day view and day borders in other views.
The System.Drawing.Color value which is used for displaying selected time slot.
The System.Drawing.Color value which is used for displaying month grid border inside tabs.
The System.Drawing.Color value which is used for displaying month grid text inside tabs.

In This Topic
    CreateOffice2007Palette Method (Palette)
    In This Topic
    Creates a new instance of the Palette object of PaletteType.Office2007 type.
    Syntax
    'Declaration
     
    Public Shared Function CreateOffice2007Palette( _
       ByVal freeHour As System.Drawing.Color, _
       ByVal freeHourBorder As System.Drawing.Color, _
       ByVal freeHourLightBorder As System.Drawing.Color, _
       ByVal dayHeaderBorder As System.Drawing.Color, _
       ByVal dayHeaderBack As System.Drawing.Color, _
       ByVal dayHeaderBack2 As System.Drawing.Color, _
       ByVal border As System.Drawing.Color, _
       ByVal selectedSlot As System.Drawing.Color, _
       ByVal monthGridBorder As System.Drawing.Color, _
       ByVal monthGridText As System.Drawing.Color _
    ) As Palette
    public static Palette CreateOffice2007Palette( 
       System.Drawing.Color freeHour,
       System.Drawing.Color freeHourBorder,
       System.Drawing.Color freeHourLightBorder,
       System.Drawing.Color dayHeaderBorder,
       System.Drawing.Color dayHeaderBack,
       System.Drawing.Color dayHeaderBack2,
       System.Drawing.Color border,
       System.Drawing.Color selectedSlot,
       System.Drawing.Color monthGridBorder,
       System.Drawing.Color monthGridText
    )

    Parameters

    freeHour
    The System.Drawing.Color value which is used for displaying background of free hours and selected days and the working hour horizontal light borders.
    freeHourBorder
    The System.Drawing.Color value which is used for displaying the free and working hour horizontal borders, alternate month days background and all-day area background.
    freeHourLightBorder
    The System.Drawing.Color value which is used for displaying the free hour horizontal light borders.
    dayHeaderBorder
    The System.Drawing.Color value which is used for displaying day header borders.
    dayHeaderBack
    The System.Drawing.Color value which is used for displaying the day header.
    dayHeaderBack2
    The System.Drawing.Color value which is used for displaying gradient color of the day header.
    border
    The System.Drawing.Color value which is used for displaying vertical borders in the day view and day borders in other views.
    selectedSlot
    The System.Drawing.Color value which is used for displaying selected time slot.
    monthGridBorder
    The System.Drawing.Color value which is used for displaying month grid border inside tabs.
    monthGridText
    The System.Drawing.Color value which is used for displaying month grid text inside tabs.
    See Also