DataGridViewImageCell.GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) DataGridViewImageCell.GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) DataGridViewImageCell.GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) Method

Definición

Devuelve el rectángulo delimitador que rodea el icono de error de la celda, si se está mostrando alguna.Returns the bounding rectangle that encloses the cell's error icon, if one is displayed.

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

Parámetros

graphics
Graphics Graphics Graphics

El contexto gráfico de la celda.The graphics context for the cell.

cellStyle
DataGridViewCellStyle DataGridViewCellStyle DataGridViewCellStyle

Estilo DataGridViewCellStyle que se debe aplicar a la celda.The DataGridViewCellStyle to be applied to the cell.

rowIndex
Int32 Int32 Int32

El índice de la fila primaria de la celda.The index of the cell's parent row.

Devoluciones

Rectangle que limita el icono de error de la celda, si se muestra alguno; de lo contrario, Empty.The Rectangle that bounds the cell's error icon, if one is displayed; otherwise, Empty.

Se aplica a

Consulte también: