1 write to _dropDownArrowPadding
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (1)
26
_dropDownArrowPadding
= new(ScaleHelper.ScaleToDpi(LogicalDropDownArrowPadding, dpi));
6 references to _dropDownArrowPadding
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.cs (6)
38
preferredSize.Width += DropDownArrowRect.Width +
_dropDownArrowPadding
.Horizontal;
42
preferredSize.Height += DropDownArrowRect.Height +
_dropDownArrowPadding
.Vertical;
59
int widthOfDropDown = s_dropDownArrowSize.Width +
_dropDownArrowPadding
.Horizontal;
66
_dropDownArrowRect = new Rectangle(
_dropDownArrowPadding
.Left, 0, s_dropDownArrowSize.Width, _ownerItem.Bounds.Height);
77
int heightOfDropDown = s_dropDownArrowSize.Height +
_dropDownArrowPadding
.Vertical;
82
_dropDownArrowRect = new Rectangle(0, options.Client.Bottom +
_dropDownArrowPadding
.Top, _ownerItem.Bounds.Width - 1, s_dropDownArrowSize.Height);