KryptonDataGridViewTreeTextCell.Paint Method

Krypton OutlookGrid

KryptonDataGridViewTreeTextCellPaint Method
Krypton OutlookGrid v1.6.0
Paints the specified graphics.

Namespace: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.CustomColumns
Assembly: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid (in JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
protected override void Paint(
	Graphics graphics,
	Rectangle clipBounds,
	Rectangle cellBounds,
	int rowIndex,
	DataGridViewElementStates cellState,
	Object value,
	Object formattedValue,
	string errorText,
	DataGridViewCellStyle cellStyle,
	DataGridViewAdvancedBorderStyle advancedBorderStyle,
	DataGridViewPaintParts paintParts
)
Protected Overrides Sub Paint ( 
	graphics As Graphics,
	clipBounds As Rectangle,
	cellBounds As Rectangle,
	rowIndex As Integer,
	cellState As DataGridViewElementStates,
	value As Object,
	formattedValue As Object,
	errorText As String,
	cellStyle As DataGridViewCellStyle,
	advancedBorderStyle As DataGridViewAdvancedBorderStyle,
	paintParts As DataGridViewPaintParts
)

Parameters

graphics
Type: System.DrawingGraphics
The graphics.
clipBounds
Type: System.DrawingRectangle
The clip bounds.
cellBounds
Type: System.DrawingRectangle
The cell bounds.
rowIndex
Type: SystemInt32
Index of the row.
cellState
Type: System.Windows.FormsDataGridViewElementStates
State of the cell.
value
Type: SystemObject
The value.
formattedValue
Type: SystemObject
The formatted value.
errorText
Type: SystemString
The error text.
cellStyle
Type: System.Windows.FormsDataGridViewCellStyle
The cell style.
advancedBorderStyle
Type: System.Windows.FormsDataGridViewAdvancedBorderStyle
The advanced border style.
paintParts
Type: System.Windows.FormsDataGridViewPaintParts
The paint parts.
See Also