[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Appearance.-ctor

Appearance Constructor

Appearance()

Creates a set of appearance settings with default values.

Declaration
public Appearance()
Public Sub New()

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool, bool, int, CellPadding, bool, Color, Color, Font, Font, Font)

Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.

Declaration
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)
Parameters
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 true [contains selection].

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.

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool, bool, int, CellPadding, bool)

Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.

Declaration
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)
Parameters
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 true [contains selection].

int textIndent

The text indent.

CellPadding cellPadding

Padding around the cell.

bool drawEditButtons

Determines whether buttons draw on edit controls.

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool, bool, int)

Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.

Declaration
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)
Parameters
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 true [contains selection].

int textIndent

The text indent.

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState, bool, bool, bool, bool)

Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.

Declaration
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)
Parameters
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

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles, SortState, FilterState)

Creates a set of appearance settings with the specified colors, buttons, alignment, visual style, and sorting and filtering states.

Declaration
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)
Parameters
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

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color, VisualStyles)

Creates a set of appearance settings with the specified colors, buttons, alignment, and visual style.

Declaration
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)
Parameters
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)

Appearance(Color, Color, Font, CellHorizontalAlignment, CellVerticalAlignment, bool, bool, Color, Color, Color, Color)

Creates a set of appearance settings with the specified colors, buttons, and alignment.

Declaration
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)
Parameters
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