OutlookGridRow.Paint Method

Krypton OutlookGrid

OutlookGridRowPaint Method
Krypton OutlookGrid v1.6.0
the main difference with a Group row and a regular row is the way it is painted on the control. the Paint method is therefore overridden and specifies how the Group row is painted. Note: this method is not implemented optimally. It is merely used for demonstration purposes

Namespace: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid
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 rowBounds,
	int rowIndex,
	DataGridViewElementStates rowState,
	bool isFirstDisplayedRow,
	bool isLastVisibleRow
)
Protected Overrides Sub Paint ( 
	graphics As Graphics,
	clipBounds As Rectangle,
	rowBounds As Rectangle,
	rowIndex As Integer,
	rowState As DataGridViewElementStates,
	isFirstDisplayedRow As Boolean,
	isLastVisibleRow As Boolean
)

Parameters

graphics
Type: System.DrawingGraphics

[Missing <param name="graphics"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

clipBounds
Type: System.DrawingRectangle

[Missing <param name="clipBounds"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

rowBounds
Type: System.DrawingRectangle

[Missing <param name="rowBounds"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

rowIndex
Type: SystemInt32

[Missing <param name="rowIndex"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

rowState
Type: System.Windows.FormsDataGridViewElementStates

[Missing <param name="rowState"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

isFirstDisplayedRow
Type: SystemBoolean

[Missing <param name="isFirstDisplayedRow"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

isLastVisibleRow
Type: SystemBoolean

[Missing <param name="isLastVisibleRow"/> documentation for "M:JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.OutlookGridRow.Paint(System.Drawing.Graphics,System.Drawing.Rectangle,System.Drawing.Rectangle,System.Int32,System.Windows.Forms.DataGridViewElementStates,System.Boolean,System.Boolean)"]

See Also