BaseComboBoxCellGetContentBounds(Graphics, DataGridViewCellStyle, Int32) Method

This returns the bounding rectangle that encloses the cell's content area calculated by using the specified graphics object and cell style.

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override Rectangle GetContentBounds(
	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 parent row

Return Value

Rectangle
A rectangle representing the cell content bounds

See Also