Nevron.UI.WinForm.Controls Namespace / NDataGridView Class / RowPrePaint Event


RowPrePaint Event
Syntax
'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
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.

PropertyDescription
Gets or sets the area of the System.Windows.Forms.DataGridView that needs to be repainted.  
Gets a string that represents an error message for the current System.Windows.Forms.DataGridViewRow.  
Gets the System.Drawing.Graphics used to paint the current System.Windows.Forms.DataGridViewRow.  
(Inherited from System.ComponentModel.HandledEventArgs)
Gets the cell style applied to the row.  
Gets a value indicating whether the current row is the first row currently displayed in the System.Windows.Forms.DataGridView.  
Gets a value indicating whether the current row is the last visible row in the System.Windows.Forms.DataGridView.  
The cell parts that are to be painted.  
Get the bounds of the current System.Windows.Forms.DataGridViewRow.  
Gets the index of the current System.Windows.Forms.DataGridViewRow.  
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