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: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
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