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 As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color _
) As Palette
public static Palette CreateOffice2007Palette(
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color ,
System.Drawing.Color
)
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