Share via


DataGridViewRowHeaderCell.GetErrorIconBounds Yöntem

Tanım

Görüntülenirse hücrenin hata simgesini çevreleyen sınırlayıcı dikdörtgeni döndürür.

protected:
 override System::Drawing::Rectangle GetErrorIconBounds(System::Drawing::Graphics ^ graphics, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle, int rowIndex);
protected override System.Drawing.Rectangle GetErrorIconBounds (System.Drawing.Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex);
override this.GetErrorIconBounds : System.Drawing.Graphics * System.Windows.Forms.DataGridViewCellStyle * int -> System.Drawing.Rectangle
Protected Overrides Function GetErrorIconBounds (graphics As Graphics, cellStyle As DataGridViewCellStyle, rowIndex As Integer) As Rectangle

Parametreler

graphics
Graphics

Hücrenin grafik bağlamı.

cellStyle
DataGridViewCellStyle

DataGridViewCellStyle Hücreye uygulanacak olan.

rowIndex
Int32

Hücrenin üst satırının dizini.

Döndürülenler

Hücrenin Rectangle hata simgesini sınırlayan, görüntülenirse, aksi takdirde , Empty.

Şunlara uygulanır

Ayrıca bkz.