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.BaseStyleInheritance: object → BaseStyle → GridViewStyle
Constructors
Section titled “Constructors”GridViewStyle()
Section titled “GridViewStyle()”Initializes a new instance of the GridViewStyle class.
public GridViewStyle()Properties
Section titled “Properties”CellBackgroundColor
Section titled “CellBackgroundColor”Gets or sets the background color of the grid cells.
public Color CellBackgroundColor { get; set; }Property Value
Section titled “Property Value”A Color represents the background color of the grid cells.
CellBackgroundLightColor
Section titled “CellBackgroundLightColor”Gets or sets the light background color of the grid cells.
public Color CellBackgroundLightColor { get; set; }Property Value
Section titled “Property Value”A Color represents the light background color of the grid cells.
CellBorderColor
Section titled “CellBorderColor”Gets or sets the color of the cell borders.
public Color CellBorderColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the cell borders.
CellFocusedBackgroundColor
Section titled “CellFocusedBackgroundColor”Gets or sets the background color of the grid cells in focused state.
public Color CellFocusedBackgroundColor { get; set; }Property Value
Section titled “Property Value”A Color represents the background color of the grid cells in focused state.
CellInnerBorderColor
Section titled “CellInnerBorderColor”Gets or sets the color of the cell inner borders.
public Color CellInnerBorderColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the cell inner borders.
ContentFontColor
Section titled “ContentFontColor”Gets or sets the color of the content font.
public Color ContentFontColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the content font.
FontColor
Section titled “FontColor”Gets or sets the color of the font.
public Color FontColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the font.
FontName
Section titled “FontName”Gets the name of the font.
public string FontName { get; }Property Value
Section titled “Property Value”The name of the font
GridBackgroundColor
Section titled “GridBackgroundColor”Gets or sets the background color of the grid.
public Color GridBackgroundColor { get; set; }Property Value
Section titled “Property Value”A Color represents the background color of the grid.
GridBorderColor
Section titled “GridBorderColor”Gets or sets the color of the grid borders.
public Color GridBorderColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the grid borders.
HeaderBackgroundColor
Section titled “HeaderBackgroundColor”Gets or sets the background color of the grid header.
public Color HeaderBackgroundColor { get; set; }Property Value
Section titled “Property Value”A Color represents the background color of the grid header.
HeaderBorderColor
Section titled “HeaderBorderColor”Gets or sets the color of the grid header borders.
public Color HeaderBorderColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the grid header borders.
ScrollBackgroundColor
Section titled “ScrollBackgroundColor”Gets or sets the background color of the scroll.
public Color ScrollBackgroundColor { get; set; }Property Value
Section titled “Property Value”A Color represents the background color of the scroll.
ScrollBarColor
Section titled “ScrollBarColor”Gets or sets the color of the scroll bar.
public Color ScrollBarColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the scroll bar.
SpecialLineColor
Section titled “SpecialLineColor”Gets or sets the color of the special line.
public Color SpecialLineColor { get; set; }Property Value
Section titled “Property Value”A Color represents the color of the special line.
Methods
Section titled “Methods”GetFontColor(Color)
Section titled “GetFontColor(Color)”Returns the color of the font based on the specified background color and FontColor.
public Color GetFontColor(Color backgroundColor)Parameters
Section titled “Parameters”backgroundColorColor
The background color.
Returns
Section titled “Returns”The Color structure that represents the FontColor on the backgroundColor.
GetFontColor(Color, Color)
Section titled “GetFontColor(Color, Color)”Returns the color of the font based on the specified background color and the font color.
public Color GetFontColor(Color backgroundColor, Color fontColor)Parameters
Section titled “Parameters”Returns
Section titled “Returns”The Color structure that represents the fontColor on the backgroundColor.
OnCurrentSkinChanged()
Section titled “OnCurrentSkinChanged()”Refreshes the style when current skin changes.
protected internal virtual void OnCurrentSkinChanged()Events
Section titled “Events”Changed
Section titled “Changed”Occurs when any of color properties have changed.
public EventHandler Changed