'Declaration
Public Function New( _
ByVal As String, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As GridLines, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal flatColumnHeader As Boolean, _
ByVal flatColumnFooter As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal showColumnHeader As Boolean, _
ByVal showColumnFooter As Boolean, _
ByVal As Boolean, _
ByVal columnHeaderParent As String, _
ByVal columnFooterParent As String, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As AutoFilterMode _
)
'使用法
Dim name As String
Dim backColor As Color
Dim cellBackColor As Color
Dim cellForeColor As Color
Dim gridLineColor As Color
Dim gridLines As GridLines
Dim headerBackColor As Color
Dim footerBackColor As Color
Dim headerForeColor As Color
Dim footerForeColor As Color
Dim selectionBackColor As Color
Dim selectionForeColor As Color
Dim evenRowBackColor As Color
Dim oddRowBackColor As Color
Dim flatColumnHeader As Boolean
Dim flatColumnFooter As Boolean
Dim flatRowHeader As Boolean
Dim headerFontBold As Boolean
Dim footerFontBold As Boolean
Dim showColumnHeader As Boolean
Dim showColumnFooter As Boolean
Dim showRowHeader As Boolean
Dim columnHeaderParent As String
Dim columnFooterParent As String
Dim rowHeaderParent As String
Dim dataAreaParent As String
Dim cornerParent As String
Dim filterBarParent As String
Dim filterBarHeaderParent As String
Dim filterBarBackColor As Color
Dim filterBarForeColor As Color
Dim filterBarHeaderBackColor As Color
Dim filterBarHeaderForeColor As Color
Dim autoFilterMode As AutoFilterMode
Dim instance As New SheetSkin(name, backColor, cellBackColor, cellForeColor, gridLineColor, gridLines, headerBackColor, footerBackColor, headerForeColor, footerForeColor, selectionBackColor, selectionForeColor, evenRowBackColor, oddRowBackColor, flatColumnHeader, flatColumnFooter, flatRowHeader, headerFontBold, footerFontBold, showColumnHeader, showColumnFooter, showRowHeader, columnHeaderParent, columnFooterParent, rowHeaderParent, dataAreaParent, cornerParent, filterBarParent, filterBarHeaderParent, filterBarBackColor, filterBarForeColor, filterBarHeaderBackColor, filterBarHeaderForeColor, autoFilterMode)
public SheetSkin(
string ,
Color ,
Color ,
Color ,
Color ,
GridLines ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
Color ,
bool flatColumnHeader,
bool flatColumnFooter,
bool ,
bool ,
bool ,
bool showColumnHeader,
bool showColumnFooter,
bool ,
string columnHeaderParent,
string columnFooterParent,
string ,
string ,
string ,
string ,
string ,
Color ,
Color ,
Color ,
Color ,
AutoFilterMode
)