[]
Creates a set of appearance settings with default values.
public Appearance()
Public Sub New()
Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.
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)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean, containsSelection As Boolean, textIndent As Integer, cellPadding As CellPadding, drawEditButtons As Boolean, nullBackColor As Color, nullForeColor As Color, nullFont As Font, lockFont As Font, selectionFont As Font)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |
VisualStyles | visualStyle | Whether to render with visual styles (as in XP themes) |
SortState | sortState | Sorting state |
FilterState | filterState | Filtering state |
bool | mouseOver | Whether the mouse is over the item being rendered |
bool | showActive | Determines whether the item should be rendered as a hot item |
bool | displayZero | Determines whether zero values are displayed in cells |
bool | rightToLeft | Whether to draw the object with a right to left orientation |
bool | containsSelection | if set to |
int | textIndent | The text indent. |
CellPadding | cellPadding | Padding around the cell. |
bool | drawEditButtons | Determines whether to draw buttons on edit controls. |
Color | nullBackColor | Backcolor for null cells. |
Color | nullForeColor | Forecolor for null cells that contain default text. |
Font | nullFont | Font for null cells that contain default text. |
Font | lockFont | Font for locked cells. |
Font | selectionFont | Font for selected cells. |
Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.
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)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean, containsSelection As Boolean, textIndent As Integer, cellPadding As CellPadding, drawEditButtons As Boolean)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |
VisualStyles | visualStyle | Whether to render with visual styles (as in XP themes) |
SortState | sortState | Sorting state |
FilterState | filterState | Filtering state |
bool | mouseOver | Whether the mouse is over the item being rendered |
bool | showActive | Determines whether the item should be rendered as a hot item |
bool | displayZero | Determines whether zero values are displayed in cells |
bool | rightToLeft | Whether to draw the object with a right to left orientation |
bool | containsSelection | if set to |
int | textIndent | The text indent. |
CellPadding | cellPadding | Padding around the cell. |
bool | drawEditButtons | Determines whether buttons draw on edit controls. |
Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.
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)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean, containsSelection As Boolean, textIndent As Integer)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |
VisualStyles | visualStyle | Whether to render with visual styles (as in XP themes) |
SortState | sortState | Sorting state |
FilterState | filterState | Filtering state |
bool | mouseOver | Whether the mouse is over the item being rendered |
bool | showActive | Determines whether the item should be rendered as a hot item |
bool | displayZero | Determines whether zero values are displayed in cells |
bool | rightToLeft | Whether to draw the object with a right to left orientation |
bool | containsSelection | if set to |
int | textIndent | The text indent. |
Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.
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)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState, mouseOver As Boolean, showActive As Boolean, displayZero As Boolean, rightToLeft As Boolean)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |
VisualStyles | visualStyle | Whether to render with visual styles (as in XP themes) |
SortState | sortState | Sorting state |
FilterState | filterState | Filtering state |
bool | mouseOver | Whether the mouse is over the item being rendered |
bool | showActive | Determines whether the item should be rendered as a hot item |
bool | displayZero | Determines whether zero values are displayed in cells |
bool | rightToLeft | Whether to draw the object with a right to left orientation |
Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.
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)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles, sortState As SortState, filterState As FilterState)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |
VisualStyles | visualStyle | Whether to render with visual styles (as in XP themes) |
SortState | sortState | Sorting state |
FilterState | filterState | Filtering state |
Creates a set of appearance settings with the specified colors, buttons, alignment, and visual style.
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)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color, visualStyle As VisualStyles)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |
VisualStyles | visualStyle | Whether to render with visual styles (as in XP themes) |
Creates a set of appearance settings with the specified colors, buttons, and alignment.
public Appearance(Color backColor, Color foreColor, Font font, CellHorizontalAlignment horizontalAlignment, CellVerticalAlignment verticalAlignment, bool drawPrimaryButton, bool drawSecondaryButton, Color selectionBackColor, Color selectionForeColor, Color lockBackColor, Color lockForeColor)
Public Sub New(backColor As Color, foreColor As Color, font As Font, horizontalAlignment As CellHorizontalAlignment, verticalAlignment As CellVerticalAlignment, drawPrimaryButton As Boolean, drawSecondaryButton As Boolean, selectionBackColor As Color, selectionForeColor As Color, lockBackColor As Color, lockForeColor As Color)
Type | Name | Description |
---|---|---|
Color | backColor | Background color of an object |
Color | foreColor | Foreground (text) color of an object |
Font | font | Font information of an object |
CellHorizontalAlignment | horizontalAlignment | Horizontal alignment of an object or of text in a cell |
CellVerticalAlignment | verticalAlignment | Vertical alignment of an object or text in a cell |
bool | drawPrimaryButton | Whether to draw the primary button for an object |
bool | drawSecondaryButton | Whether to draw the secondary button for an object |
Color | selectionBackColor | Background color of an object when the object is selected |
Color | selectionForeColor | Foreground (text) color of an object when the object is selected |
Color | lockBackColor | Background color of an object when the cell is locked |
Color | lockForeColor | Foreground (text) color of an object when the cell is locked |