C# Class GBD.DataGridViewCheckBoxHeaderCell

The data grid view check box header cell.
Inheritance: System.Windows.Forms.DataGridViewColumnHeaderCell
Exibir arquivo Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Public Properties

Property Type Description
isChecked bool

Public Methods

Method Description
DataGridViewCheckBoxHeaderCell ( ) : System.Drawing

Initializes a new instance of the DataGridViewCheckBoxHeaderCell class.

Protected Methods

Method Description
OnMouseClick ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void

The on mouse click.

Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates dataGridViewElementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void

The paint.

Method Details

DataGridViewCheckBoxHeaderCell() public method

Initializes a new instance of the DataGridViewCheckBoxHeaderCell class.
public DataGridViewCheckBoxHeaderCell ( ) : System.Drawing
return System.Drawing

OnMouseClick() protected method

The on mouse click.
protected OnMouseClick ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellMouseEventArgs /// The e. ///
return void

Paint() protected method

The paint.
protected Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates dataGridViewElementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void
graphics System.Drawing.Graphics /// The graphics. ///
clipBounds System.Drawing.Rectangle /// The clip bounds. ///
cellBounds System.Drawing.Rectangle /// The cell bounds. ///
rowIndex int /// The row index. ///
dataGridViewElementState DataGridViewElementStates /// The data grid view element state. ///
value object /// The value. ///
formattedValue object /// The formatted value. ///
errorText string /// The error text. ///
cellStyle System.Windows.Forms.DataGridViewCellStyle /// The cell style. ///
advancedBorderStyle System.Windows.Forms.DataGridViewAdvancedBorderStyle /// The advanced border style. ///
paintParts DataGridViewPaintParts /// The paint parts. ///
return void

Property Details

isChecked public_oe property

The _checked.
public bool isChecked
return bool