GridViewStyle
Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Provides colors and fonts for a TagBites.WinSchedulers.GridViewControl
public class GridViewStyle : TagBites.WinSchedulers.Skins.BaseStyle
Constructors
GridViewStyle()
public void GridViewStyle()
Result Type: void
Properties
CellBackgroundColor
Gets or sets the background color of the grid cells.
public Color CellBackgroundColor { get; set; }
Result Type: Color
CellBackgroundLightColor
Gets or sets the light background color of the grid cells.
public Color CellBackgroundLightColor { get; set; }
Result Type: Color
CellBorderColor
Gets or sets the color of the cell borders.
public Color CellBorderColor { get; set; }
Result Type: Color
CellFocusedBackgroundColor
Gets or sets the background color of the grid cells in focused state.
public Color CellFocusedBackgroundColor { get; set; }
Result Type: Color
CellInnerBorderColor
Gets or sets the color of the cell inner borders.
public Color CellInnerBorderColor { get; set; }
Result Type: Color
ContentFontColor
Gets or sets the color of the content font.
public Color ContentFontColor { get; set; }
Result Type: Color
FontColor
Gets or sets the color of the font.
public Color FontColor { get; set; }
Result Type: Color
FontName
Gets the name of the font.
public string FontName { get; }
Result Type: string
GridBackgroundColor
Gets or sets the background color of the grid.
public Color GridBackgroundColor { get; set; }
Result Type: Color
GridBorderColor
Gets or sets the color of the grid borders.
public Color GridBorderColor { get; set; }
Result Type: Color
HeaderBackgroundColor
Gets or sets the background color of the grid header.
public Color HeaderBackgroundColor { get; set; }
Result Type: Color
HeaderBorderColor
Gets or sets the color of the grid header borders.
public Color HeaderBorderColor { get; set; }
Result Type: Color
ScrollBackgroundColor
Gets or sets the background color of the scroll.
public Color ScrollBackgroundColor { get; set; }
Result Type: Color
ScrollBarColor
Gets or sets the color of the scroll bar.
public Color ScrollBarColor { get; set; }
Result Type: Color
SpecialLineColor
Gets or sets the color of the special line.
public Color SpecialLineColor { get; set; }
Result Type: Color
Methods
GetFontColor(Color)
Returns the color of the font based on the specified background color and TagBites.WinSchedulers.GridViewStyle.FontColor.
public Color GetFontColor(Color backgroundColor)
Result Type: Color
Parameters
Type | Name | |
---|---|---|
Color | backgroundColor | The background color. |
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)
Result Type: Color
Parameters
Type | Name | |
---|---|---|
Color | backgroundColor | The background color. |
Color | fontColor | The font color. |
RefreshStyle()
protected internal void RefreshStyle()
Result Type: void
Events
Changed
Occurs when any of color properties have changed.
public EventHandler Changed
Result Type: EventHandler