BaseDataGridViewCellPaintPadding Method

This is used to paint the cell's padding based on the current bounds and cell style

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected static void PaintPadding(
	Graphics g,
	Rectangle bounds,
	DataGridViewCellStyle cellStyle,
	Brush br,
	bool rightToLeft
)

Parameters

g  Graphics
The graphics object
bounds  Rectangle
The cell bounds
cellStyle  DataGridViewCellStyle
The cell style
br  Brush
The background brush
rightToLeft  Boolean
The right-to-left setting currently in effect

See Also