Skip to content
Auto
Products

GridViewStyle

Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Product: TagBites.WinSchedulers v. 1.3.8

Provides colors and fonts for a GridViewControl

public class GridViewStyle : TagBites.WinSchedulers.Skins.BaseStyle

Inheritance: objectBaseStyle → GridViewStyle

Initializes a new instance of the GridViewStyle class.

public GridViewStyle()

Gets or sets the background color of the grid cells.

public Color CellBackgroundColor { get; set; }

Color

A Color represents the background color of the grid cells.

Gets or sets the light background color of the grid cells.

public Color CellBackgroundLightColor { get; set; }

Color

A Color represents the light background color of the grid cells.

Gets or sets the color of the cell borders.

public Color CellBorderColor { get; set; }

Color

A Color represents the color of the cell borders.

Gets or sets the background color of the grid cells in focused state.

public Color CellFocusedBackgroundColor { get; set; }

Color

A Color represents the background color of the grid cells in focused state.

Gets or sets the color of the cell inner borders.

public Color CellInnerBorderColor { get; set; }

Color

A Color represents the color of the cell inner borders.

Gets or sets the color of the content font.

public Color ContentFontColor { get; set; }

Color

A Color represents the color of the content font.

Gets or sets the color of the font.

public Color FontColor { get; set; }

Color

A Color represents the color of the font.

Gets the name of the font.

public string FontName { get; }

string

The name of the font

Gets or sets the background color of the grid.

public Color GridBackgroundColor { get; set; }

Color

A Color represents the background color of the grid.

Gets or sets the color of the grid borders.

public Color GridBorderColor { get; set; }

Color

A Color represents the color of the grid borders.

Gets or sets the background color of the grid header.

public Color HeaderBackgroundColor { get; set; }

Color

A Color represents the background color of the grid header.

Gets or sets the color of the grid header borders.

public Color HeaderBorderColor { get; set; }

Color

A Color represents the color of the grid header borders.

Gets or sets the background color of the scroll.

public Color ScrollBackgroundColor { get; set; }

Color

A Color represents the background color of the scroll.

Gets or sets the color of the scroll bar.

public Color ScrollBarColor { get; set; }

Color

A Color represents the color of the scroll bar.

Gets or sets the color of the special line.

public Color SpecialLineColor { get; set; }

Color

A Color represents the color of the special line.

Returns the color of the font based on the specified background color and FontColor.

public Color GetFontColor(Color backgroundColor)
  • backgroundColor Color
    The background color.

Color

The Color structure that represents the FontColor on the backgroundColor.

Returns the color of the font based on the specified background color and the font color.

public Color GetFontColor(Color backgroundColor, Color fontColor)
  • backgroundColor Color
    The background color.
  • fontColor Color
    The font color.

Color

The Color structure that represents the fontColor on the backgroundColor.

Refreshes the style when current skin changes.

protected internal virtual void OnCurrentSkinChanged()

Occurs when any of color properties have changed.

public EventHandler Changed

EventHandler