Base Combo Box CellGet Error Icon Bounds 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: 2024.12.31.0
The bounds of the cell's error icon if displayed or Rectangle.Empty if not
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
protected override Rectangle GetErrorIconBounds(
Graphics graphics,
DataGridViewCellStyle cellStyle,
int rowIndex
)VB
Protected Overrides Function GetErrorIconBounds (
graphics As Graphics,
cellStyle As DataGridViewCellStyle,
rowIndex As Integer
) As RectangleC++
protected:
virtual Rectangle GetErrorIconBounds(
Graphics^ graphics,
DataGridViewCellStyle^ cellStyle,
int rowIndex
) overrideF#
abstract GetErrorIconBounds :
graphics : Graphics *
cellStyle : DataGridViewCellStyle *
rowIndex : int -> Rectangle
override GetErrorIconBounds :
graphics : Graphics *
cellStyle : DataGridViewCellStyle *
rowIndex : int -> Rectangle 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
RectangleThe bounds of the cell's error icon if displayed or Rectangle.Empty if not