BaseComboBoxCellGetErrorIconBounds Method

Returns the bounding rectangle that encloses the cell's error icon, if one is displayed

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override Rectangle GetErrorIconBounds(
	Graphics graphics,
	DataGridViewCellStyle cellStyle,
	int rowIndex
)

Parameters

graphics  Graphics
The graphics context for the cell
cellStyle  DataGridViewCellStyle
The cell style
rowIndex  Int32
The index of the cell's parent row

Return Value

Rectangle
The bounds of the cell's error icon if displayed or Rectangle.Empty if not

See Also