ComponentOne Scheduler for WinForms
CreateOffice2010Palette Method

C1.Win.C1Schedule.4 Assembly > C1.Win.C1Schedule.UI Namespace > Palette Class : CreateOffice2010Palette 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 selected time slot.
Creates a new instance of the Palette object of PaletteType.Office2010 type.
Syntax
'Declaration
 
Public Shared Function CreateOffice2010Palette( _
   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 selectedSlot As System.Drawing.Color _
) As Palette
public static Palette CreateOffice2010Palette( 
   System.Drawing.Color freeHour,
   System.Drawing.Color freeHourBorder,
   System.Drawing.Color freeHourLightBorder,
   System.Drawing.Color dayHeaderBorder,
   System.Drawing.Color dayHeaderBack,
   System.Drawing.Color selectedSlot
)

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.
selectedSlot
The System.Drawing.Color value which is used for displaying selected time slot.
See Also

Reference

Palette Class
Palette Members