Class DataGridViewExCheckBoxColumn
- Namespace
- ExControls
- Assembly
- ExControls.dll
DataGridView column of DataGridViewExCheckBoxCell cells, which can be drawn in the custom style like ExCheckBox.
public class DataGridViewExCheckBoxColumn : DataGridViewCheckBoxColumn, ICloneable, IComponent, IDisposable, IThemeable
- Inheritance
-
DataGridViewExCheckBoxColumn
- Implements
- Inherited Members
Constructors
DataGridViewExCheckBoxColumn()
Initializes a new instance of the DataGridViewExCheckBoxColumn class with cells in the default style.
public DataGridViewExCheckBoxColumn()
Properties
BorderColor
Color of the CheckBox's border
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color BorderColor { get; set; }
Property Value
CellTemplate
Gets or sets the template used to create new cells.
public override sealed DataGridViewCell? CellTemplate { get; set; }
Property Value
- DataGridViewCell
A DataGridViewCell that all other cells in the column are modeled after. The default value is a new DataGridViewCheckBoxCell instance.
Exceptions
- InvalidCastException
The property is set to a value that is not of type DataGridViewCheckBoxCell.
DefaultStyle
Default style of the Control
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public bool DefaultStyle { get; set; }
Property Value
HighlightColor
Color of the border and mark of CheckBox when mouse is over the Control
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color HighlightColor { get; set; }
Property Value
MarkColor
Color of the CheckBox's mark
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color MarkColor { get; set; }
Property Value
SquareBackColor
Background color of CheckBox's square
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color SquareBackColor { get; set; }
Property Value
Methods
ApplyTheme(ExTheme)
Sets the colors and appearance of the control by the theme.
public void ApplyTheme(ExTheme theme)
Parameters
themeExTheme