Aracılığıyla paylaş


DataGridViewTopLeftHeaderCell.PaintBorder Yöntem

Tanım

Geçerli DataGridViewCellöğesinin kenarını boyar.

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)

Parametreler

graphics
Graphics

Sınırı Graphics boyamak için kullanılan.

clipBounds
Rectangle

öğesinin Rectangle yeniden boyanması DataGridView gereken alanını temsil eden bir.

bounds
Rectangle

Kenarlıkta Rectangle boyanmakta olan alanı içeren bir.

cellStyle
DataGridViewCellStyle

DataGridViewCellStyle Hücre hakkında biçimlendirme ve stil bilgilerini içeren bir.

advancedBorderStyle
DataGridViewAdvancedBorderStyle

DataGridViewAdvancedBorderStyle Boyanmakta olan kenarın kenarlık stillerini içeren bir.

Şunlara uygulanır

Ayrıca bkz.