DataGridViewTopLeftHeaderCell.PaintBorder Methode

Definition

Zeichnet den Rahmen der aktuellen DataGridViewCell.

protected:
 override void PaintBorder(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipBounds, System::Drawing::Rectangle bounds, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle, System::Windows::Forms::DataGridViewAdvancedBorderStyle ^ advancedBorderStyle);
protected override void PaintBorder (System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle bounds, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle);
override this.PaintBorder : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * System.Windows.Forms.DataGridViewCellStyle * System.Windows.Forms.DataGridViewAdvancedBorderStyle -> unit
Protected Overrides Sub PaintBorder (graphics As Graphics, clipBounds As Rectangle, bounds As Rectangle, cellStyle As DataGridViewCellStyle, advancedBorderStyle As DataGridViewAdvancedBorderStyle)

Parameter

graphics
Graphics

Die zum Zeichnen des Rahmens verwendete Graphics.

clipBounds
Rectangle

Ein Rectangle, das die Fläche der erneut zu zeichnenden DataGridView darstellt.

bounds
Rectangle

Ein Rectangle, das den Bereich des gezeichneten Rahmens enthält.

cellStyle
DataGridViewCellStyle

Ein DataGridViewCellStyle, der Formatierungs- und Stilinformationen zur Zelle enthält.

advancedBorderStyle
DataGridViewAdvancedBorderStyle

Ein DataGridViewAdvancedBorderStyle, der Rahmenarten des Rahmens enthält, der gezeichnet wird.

Gilt für:

Weitere Informationen