C# Class GbdxTools.DataGridViewDisableCheckBoxCell

Inheritance: System.Windows.Forms.DataGridViewCheckBoxCell
显示文件 Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Public Methods

Method Description
Clone ( ) : object
DataGridViewDisableCheckBoxCell ( ) : System.Drawing

Protected Methods

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

Override the Paint method to show the disabled checked/unchecked datagridviewcheckboxcell.

Method Details

Clone() public method

public Clone ( ) : object
return object

DataGridViewDisableCheckBoxCell() public method

public DataGridViewDisableCheckBoxCell ( ) : System.Drawing
return System.Drawing

Paint() protected method

Override the Paint method to show the disabled checked/unchecked datagridviewcheckboxcell.
protected Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void
graphics System.Drawing.Graphics
clipBounds System.Drawing.Rectangle
cellBounds System.Drawing.Rectangle
rowIndex int
elementState DataGridViewElementStates
value object
formattedValue object
errorText string
cellStyle System.Windows.Forms.DataGridViewCellStyle
advancedBorderStyle System.Windows.Forms.DataGridViewAdvancedBorderStyle
paintParts DataGridViewPaintParts
return void