DataGridViewComboBoxCell.GetErrorIconBounds Metoda

Definice

Vrátí ohraničující obdélník, který ohraničuje ikonu chyby buňky, pokud se zobrazí.

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

Parametry

graphics
Graphics

Grafický kontext buňky.

cellStyle
DataGridViewCellStyle

Hodnota DataGridViewCellStyle , která se má použít na buňku.

rowIndex
Int32

Index nadřazeného řádku buňky.

Návraty

Ikona Rectangle chyby ohraničená buňkou, pokud se zobrazí; v opačném případě Empty.

Platí pro

Viz také