FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Appearance Class > Appearance Constructor : Appearance Constructor(Color,Color,Font,CellHorizontalAlignment,CellVerticalAlignment,Boolean,Boolean,Color,Color,Color,Color,VisualStyles,SortState,FilterState,Boolean,Boolean,Boolean,Boolean,Boolean,Int32,CellPadding,Boolean,Color,Color,Font,Font,Font) |
true
[contains selection].
'Declaration Public Function New( _ ByVal backColor As Color, _ ByVal foreColor As Color, _ ByVal font As Font, _ ByVal horizontalAlignment As CellHorizontalAlignment, _ ByVal verticalAlignment As CellVerticalAlignment, _ ByVal drawPrimaryButton As Boolean, _ ByVal drawSecondaryButton As Boolean, _ ByVal selectionBackColor As Color, _ ByVal selectionForeColor As Color, _ ByVal lockBackColor As Color, _ ByVal lockForeColor As Color, _ ByVal visualStyle As VisualStyles, _ ByVal sortState As SortState, _ ByVal filterState As FilterState, _ ByVal mouseOver As Boolean, _ ByVal showActive As Boolean, _ ByVal displayZero As Boolean, _ ByVal rightToLeft As Boolean, _ ByVal containsSelection As Boolean, _ ByVal textIndent As Integer, _ ByVal cellPadding As CellPadding, _ ByVal drawEditButtons As Boolean, _ ByVal nullBackColor As Color, _ ByVal nullForeColor As Color, _ ByVal nullFont As Font, _ ByVal lockFont As Font, _ ByVal selectionFont As Font _ )
'Usage 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 cellPadding As CellPadding Dim drawEditButtons As Boolean Dim nullBackColor As Color Dim nullForeColor As Color Dim nullFont As Font Dim lockFont As Font Dim selectionFont As Font 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, cellPadding, drawEditButtons, nullBackColor, nullForeColor, nullFont, lockFont, selectionFont)
public Appearance( Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor, VisualStyles visualStyle, SortState sortState, FilterState filterState, bool mouseOver, bool showActive, bool displayZero, bool rightToLeft, bool containsSelection, int textIndent, CellPadding cellPadding, bool drawEditButtons, Color nullBackColor, Color nullForeColor, Font nullFont, Font lockFont, Font selectionFont )
true
[contains selection].Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10