DataGridViewRowPostPaintEventArgs Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der DataGridViewRowPostPaintEventArgs-Klasse.
public:
DataGridViewRowPostPaintEventArgs(System::Windows::Forms::DataGridView ^ dataGridView, System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipBounds, System::Drawing::Rectangle rowBounds, int rowIndex, System::Windows::Forms::DataGridViewElementStates rowState, System::String ^ errorText, System::Windows::Forms::DataGridViewCellStyle ^ inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
public DataGridViewRowPostPaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
public DataGridViewRowPostPaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string? errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
new System.Windows.Forms.DataGridViewRowPostPaintEventArgs : System.Windows.Forms.DataGridView * System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * int * System.Windows.Forms.DataGridViewElementStates * string * System.Windows.Forms.DataGridViewCellStyle * bool * bool -> System.Windows.Forms.DataGridViewRowPostPaintEventArgs
Public Sub New (dataGridView As DataGridView, graphics As Graphics, clipBounds As Rectangle, rowBounds As Rectangle, rowIndex As Integer, rowState As DataGridViewElementStates, errorText As String, inheritedRowStyle As DataGridViewCellStyle, isFirstDisplayedRow As Boolean, isLastVisibleRow As Boolean)
Parameter
- dataGridView
- DataGridView
Die DataGridView, die die gezeichnete Zeile besitzt.
- graphics
- Graphics
Die Graphics, mit der die DataGridViewRow gezeichnet wird.
- clipBounds
- Rectangle
Ein Rectangle, das die Fläche der zu zeichnenden DataGridView darstellt.
- rowBounds
- Rectangle
Ein Rectangle, das die Begrenzungen der DataGridViewRow enthält, die gezeichnet wird.
- rowIndex
- Int32
Der Zeilenindex der gezeichneten Zelle.
- rowState
- DataGridViewElementStates
Eine bitweise Kombination von DataGridViewElementStates-Werten, die den Zustand der Zeile angibt.
- errorText
- String
Eine Fehlermeldung, die der Zeile zugeordnet ist.
- inheritedRowStyle
- DataGridViewCellStyle
Ein DataGridViewCellStyle, der Formatierungs- und Stilinformationen zur Zeile enthält.
- isFirstDisplayedRow
- Boolean
true
, um anzugeben, ob die aktuelle Zeile die erste in der DataGridView angezeigte Zeile ist, andernfalls false
.
- isLastVisibleRow
- Boolean
true
, um anzugeben, ob die aktuelle Zeile die letzte Zeile in der DataGridView ist, deren Visible-Eigenschaft auf true
festgelegt ist, andernfalls false
.
Ausnahmen
dataGridView
ist null
.
- oder -
graphics
ist null
.
- oder -
inheritedRowStyle
ist null
.
Gilt für:
Weitere Informationen
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für