13 references to textPadding
System.Windows.Forms (13)
winforms\Managed\System\WinForms\DataGridCaption.cs (13)
435
bounds.Y + yOffset +
textPadding
,
457
bounds.Y + yOffset +
textPadding
,
482
Math.Min(textWidthLeft, 2 *
textPadding
+ textSize.Width),
483
2 *
textPadding
+ textSize.Height);
567
if (
textPadding
> 0) {
569
border.Height =
textPadding
;
572
border.Y = textBounds.Bottom -
textPadding
;
575
border = new Rectangle(textBounds.X, textBounds.Y +
textPadding
,
576
textPadding
, textBounds.Height - 2*
textPadding
);
579
border.X = textBounds.Right -
textPadding
;
581
textBounds.Inflate(-
textPadding
, -
textPadding
);