1 write to _textPadding
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
598
_textPadding
= ScaleHelper.ScaleToDpi(new Padding(8, 1, 9, 1), dpi);
9 references to _textPadding
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (9)
76
int textPadding = (rightToLeft == RightToLeft.Yes) ?
_textPadding
.Right :
_textPadding
.Left;
330
_maxItemSize.Height = Math.Max(maxTextSize.Height +
_textPadding
.Vertical, Math.Max(maxCheckSize.Height + _checkPadding.Vertical, maxArrowSize.Height + _arrowPadding.Vertical));
341
maxTextSize.Height = _maxItemSize.Height -
_textPadding
.Vertical;
419
nextPoint.X = _imageMarginBounds.Right +
_textPadding
.Left;
420
nextPoint.Y =
_textPadding
.Top;
424
nextPoint.X = _textRectangle.Right +
_textPadding
.Right + _arrowPadding.Left;
437
trimPadding +=
_textPadding
.Right;
447
trimPadding +=
_textPadding
.Left;