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)
76int 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)); 341maxTextSize.Height = _maxItemSize.Height - _textPadding.Vertical; 419nextPoint.X = _imageMarginBounds.Right + _textPadding.Left; 420nextPoint.Y = _textPadding.Top; 424nextPoint.X = _textRectangle.Right + _textPadding.Right + _arrowPadding.Left; 437trimPadding += _textPadding.Right; 447trimPadding += _textPadding.Left;