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) |
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 _ )
'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 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)
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 )
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