BaseDataGridViewCellPaintPadding Method
This is used to paint the cell's padding based on the current bounds and cell style
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: 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
)
Protected Shared Sub PaintPadding (
g As Graphics,
bounds As Rectangle,
cellStyle As DataGridViewCellStyle,
br As Brush,
rightToLeft As Boolean
)
protected:
static void PaintPadding(
Graphics^ g,
Rectangle bounds,
DataGridViewCellStyle^ cellStyle,
Brush^ br,
bool rightToLeft
)
static member PaintPadding :
g : Graphics *
bounds : Rectangle *
cellStyle : DataGridViewCellStyle *
br : Brush *
rightToLeft : bool -> unit
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