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.
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override Rectangle GetContentBounds(
Graphics graphics,
DataGridViewCellStyle cellStyle,
int rowIndex
)
Protected Overrides Function GetContentBounds (
graphics As Graphics,
cellStyle As DataGridViewCellStyle,
rowIndex As Integer
) As Rectangle
protected:
virtual Rectangle GetContentBounds(
Graphics^ graphics,
DataGridViewCellStyle^ cellStyle,
int rowIndex
) override
abstract GetContentBounds :
graphics : Graphics *
cellStyle : DataGridViewCellStyle *
rowIndex : int -> Rectangle
override GetContentBounds :
graphics : Graphics *
cellStyle : DataGridViewCellStyle *
rowIndex : int -> Rectangle
- graphics Graphics
- The graphics context for the cell
- cellStyle DataGridViewCellStyle
- The cell style
- rowIndex Int32
- The index of the parent row
RectangleA rectangle representing the cell content bounds