Export (0) Print
Expand All

DataGridViewHeaderCell.Paint Method

Note: This method is new in the .NET Framework version 2.0.

This member overrides DataGridViewCell.Paint.

protected override void Paint (
	Graphics graphics,
	Rectangle clipBounds,
	Rectangle cellBounds,
	int rowIndex,
	DataGridViewElementStates dataGridViewElementState,
	Object value,
	Object formattedValue,
	string errorText,
	DataGridViewCellStyle cellStyle,
	DataGridViewAdvancedBorderStyle advancedBorderStyle,
	DataGridViewPaintParts paintParts
)
protected void Paint (
	Graphics graphics, 
	Rectangle clipBounds, 
	Rectangle cellBounds, 
	int rowIndex, 
	DataGridViewElementStates dataGridViewElementState, 
	Object value, 
	Object formattedValue, 
	String errorText, 
	DataGridViewCellStyle cellStyle, 
	DataGridViewAdvancedBorderStyle advancedBorderStyle, 
	DataGridViewPaintParts paintParts
)
protected override function Paint (
	graphics : Graphics, 
	clipBounds : Rectangle, 
	cellBounds : Rectangle, 
	rowIndex : int, 
	dataGridViewElementState : DataGridViewElementStates, 
	value : Object, 
	formattedValue : Object, 
	errorText : String, 
	cellStyle : DataGridViewCellStyle, 
	advancedBorderStyle : DataGridViewAdvancedBorderStyle, 
	paintParts : DataGridViewPaintParts
)

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft