Udostępnij przez


DataGridViewTopLeftHeaderCell.PaintBorder Metoda

Definicja

Maluje obramowanie bieżącego .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)

Parametry

graphics
Graphics

Używany Graphics do malowania obramowania.

clipBounds
Rectangle

Obiekt Rectangle , który reprezentuje obszar DataGridView , który musi zostać przemalowany.

bounds
Rectangle

Obiekt Rectangle , który zawiera obszar obramowania, który jest malowany.

cellStyle
DataGridViewCellStyle

Obiekt DataGridViewCellStyle zawierający informacje o formatowaniu i stylu dotyczące komórki.

advancedBorderStyle
DataGridViewAdvancedBorderStyle

Obiekt DataGridViewAdvancedBorderStyle zawierający style obramowania obramowania, które jest malowane.

Dotyczy

Zobacz też