'Declaration
<SRCategoryAttribute("CatDisplay")> <SRDescriptionAttribute("DataGridView_RowPrePaintDescr")> Public Event RowPrePaint As System.Windows.Forms.DataGridViewRowPrePaintEventHandler
'Usage
Dim instance As NDataGridView Dim handler As System.Windows.Forms.DataGridViewRowPrePaintEventHandler AddHandler instance.RowPrePaint, handler
[SRCategory("CatDisplay")] [SRDescription("DataGridView_RowPrePaintDescr")] public event System.Windows.Forms.DataGridViewRowPrePaintEventHandler RowPrePaint
Event Data
The event handler receives an argument of type System.Windows.Forms.DataGridViewRowPrePaintEventArgs containing data related to this event. The following DataGridViewRowPrePaintEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ClipBounds | Gets or sets the area of the System.Windows.Forms.DataGridView that needs to be repainted. |
ErrorText | Gets a string that represents an error message for the current System.Windows.Forms.DataGridViewRow. |
Graphics | Gets the System.Drawing.Graphics used to paint the current System.Windows.Forms.DataGridViewRow. |
Handled | (Inherited from System.ComponentModel.HandledEventArgs) |
InheritedRowStyle | Gets the cell style applied to the row. |
IsFirstDisplayedRow | Gets a value indicating whether the current row is the first row currently displayed in the System.Windows.Forms.DataGridView. |
IsLastVisibleRow | Gets a value indicating whether the current row is the last visible row in the System.Windows.Forms.DataGridView. |
PaintParts | The cell parts that are to be painted. |
RowBounds | Get the bounds of the current System.Windows.Forms.DataGridViewRow. |
RowIndex | Gets the index of the current System.Windows.Forms.DataGridViewRow. |
State | Gets the state of the current System.Windows.Forms.DataGridViewRow. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also