DataGridViewTopLeftHeaderCell.PaintBorder Metodo

Definizione

Disegna il bordo dell'oggetto DataGridViewCell corrente.

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)

Parametri

graphics
Graphics

Oggetto Graphics usato per disegnare il bordo.

clipBounds
Rectangle

Oggetto Rectangle che rappresenta l'area dell'oggetto DataGridView da ridisegnare.

bounds
Rectangle

Oggetto Rectangle contenente l'area del bordo da disegnare.

cellStyle
DataGridViewCellStyle

Oggetto DataGridViewCellStyle contenente le informazioni di formattazione e stile relative alla cella.

advancedBorderStyle
DataGridViewAdvancedBorderStyle

Oggetto DataGridViewAdvancedBorderStyle contenente gli stili del bordo da disegnare.

Si applica a

Vedi anche