'Declaration
Public Function New( _
ByVal As Color, _
ByVal As Color, _
ByVal As Font, _
ByVal As CellHorizontalAlignment, _
ByVal As CellVerticalAlignment, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal As VisualStyles, _
ByVal As SortState, _
ByVal As FilterState, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Integer _
)
'使用法
Dim backColor As Color
Dim foreColor As Color
Dim font As Font
Dim horizontalAlignment As CellHorizontalAlignment
Dim verticalAlignment As CellVerticalAlignment
Dim drawPrimaryButton As Boolean
Dim drawSecondaryButton As Boolean
Dim selectionBackColor As Color
Dim selectionForeColor As Color
Dim lockBackColor As Color
Dim lockForeColor As Color
Dim visualStyle As VisualStyles
Dim sortState As SortState
Dim filterState As FilterState
Dim mouseOver As Boolean
Dim showActive As Boolean
Dim displayZero As Boolean
Dim rightToLeft As Boolean
Dim containsSelection As Boolean
Dim textIndent As Integer
Dim instance As New Appearance(backColor, foreColor, font, horizontalAlignment, verticalAlignment, drawPrimaryButton, drawSecondaryButton, selectionBackColor, selectionForeColor, lockBackColor, lockForeColor, visualStyle, sortState, filterState, mouseOver, showActive, displayZero, rightToLeft, containsSelection, textIndent)
public Appearance(
Color ,
Color ,
Font ,
CellHorizontalAlignment ,
CellVerticalAlignment ,
bool ,
bool ,
Color ,
Color ,
Color ,
Color ,
VisualStyles ,
SortState ,
FilterState ,
bool ,
bool ,
bool ,
bool ,
bool ,
int
)