FlexGrid for WinForms
GridRendererOffice2007 Constructor(Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color)



Background color for highlighted cells.
Color of the border around the top left fixed cell.
Color of the background for the top left fixed cell.
First color of the gradient background for the image in the top left fixed cell.
Second color of the gradient background for the image in the top left fixed cell.
First color of the gradient background for column headers.
Second color of the gradient background for column headers.
Color of the border around column headers.
First color of the gradient background for selected column headers.
Second color of the gradient background for selected column headers.
Color of the border around selected column headers.
First color of the gradient background for hot column headers.
Second color of the gradient background for hot column headers.
Color of the border around hot column headers.
First color of the gradient background for selected hot column headers.
Second color of the gradient background for selected hot column headers.
Color of the border around hot selected column headers.
Color of the background for row headers.
Color of the border around row headers.
Color of the background for selected row headers.
Color of the border around selected row headers.
Color of the background for hot row headers.
Color of the border around hot row headers.
Color of the background for hot selected row headers.
Color of the border around selected hot row headers.
Initializes a new instance of a GridRendererOffice2007.
Syntax
'Declaration
 
Public Function New( _
   ByVal clrHighlight As Color, _
   ByVal clrTopLeftBorder As Color, _
   ByVal clrTopLeft As Color, _
   ByVal clrImg1 As Color, _
   ByVal clrImg2 As Color, _
   ByVal clrCol1 As Color, _
   ByVal clrCol2 As Color, _
   ByVal clrColBorder As Color, _
   ByVal clrColSel1 As Color, _
   ByVal clrColSel2 As Color, _
   ByVal clrSelBorder As Color, _
   ByVal clrColHot1 As Color, _
   ByVal clrColHot2 As Color, _
   ByVal clrHotBorder As Color, _
   ByVal clrColSelHot1 As Color, _
   ByVal clrColSelHot2 As Color, _
   ByVal clrSelHotBorder As Color, _
   ByVal clrRow As Color, _
   ByVal clrRowBorder As Color, _
   ByVal clrRowSel As Color, _
   ByVal clrRowSelBorder As Color, _
   ByVal clrRowHot As Color, _
   ByVal clrRowHotBorder As Color, _
   ByVal clrRowSelHot As Color, _
   ByVal clrRowSelHotBorder As Color _
)
'Usage
 
Dim clrHighlight As Color
Dim clrTopLeftBorder As Color
Dim clrTopLeft As Color
Dim clrImg1 As Color
Dim clrImg2 As Color
Dim clrCol1 As Color
Dim clrCol2 As Color
Dim clrColBorder As Color
Dim clrColSel1 As Color
Dim clrColSel2 As Color
Dim clrSelBorder As Color
Dim clrColHot1 As Color
Dim clrColHot2 As Color
Dim clrHotBorder As Color
Dim clrColSelHot1 As Color
Dim clrColSelHot2 As Color
Dim clrSelHotBorder As Color
Dim clrRow As Color
Dim clrRowBorder As Color
Dim clrRowSel As Color
Dim clrRowSelBorder As Color
Dim clrRowHot As Color
Dim clrRowHotBorder As Color
Dim clrRowSelHot As Color
Dim clrRowSelHotBorder As Color
 
Dim instance As New GridRendererOffice2007(clrHighlight, clrTopLeftBorder, clrTopLeft, clrImg1, clrImg2, clrCol1, clrCol2, clrColBorder, clrColSel1, clrColSel2, clrSelBorder, clrColHot1, clrColHot2, clrHotBorder, clrColSelHot1, clrColSelHot2, clrSelHotBorder, clrRow, clrRowBorder, clrRowSel, clrRowSelBorder, clrRowHot, clrRowHotBorder, clrRowSelHot, clrRowSelHotBorder)

Parameters

clrHighlight
Background color for highlighted cells.
clrTopLeftBorder
Color of the border around the top left fixed cell.
clrTopLeft
Color of the background for the top left fixed cell.
clrImg1
First color of the gradient background for the image in the top left fixed cell.
clrImg2
Second color of the gradient background for the image in the top left fixed cell.
clrCol1
First color of the gradient background for column headers.
clrCol2
Second color of the gradient background for column headers.
clrColBorder
Color of the border around column headers.
clrColSel1
First color of the gradient background for selected column headers.
clrColSel2
Second color of the gradient background for selected column headers.
clrSelBorder
Color of the border around selected column headers.
clrColHot1
First color of the gradient background for hot column headers.
clrColHot2
Second color of the gradient background for hot column headers.
clrHotBorder
Color of the border around hot column headers.
clrColSelHot1
First color of the gradient background for selected hot column headers.
clrColSelHot2
Second color of the gradient background for selected hot column headers.
clrSelHotBorder
Color of the border around hot selected column headers.
clrRow
Color of the background for row headers.
clrRowBorder
Color of the border around row headers.
clrRowSel
Color of the background for selected row headers.
clrRowSelBorder
Color of the border around selected row headers.
clrRowHot
Color of the background for hot row headers.
clrRowHotBorder
Color of the border around hot row headers.
clrRowSelHot
Color of the background for hot selected row headers.
clrRowSelHotBorder
Color of the border around selected hot row headers.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridRendererOffice2007 Class
GridRendererOffice2007 Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback