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)
38preferredSize.Width += DropDownArrowRect.Width + _dropDownArrowPadding.Horizontal; 42preferredSize.Height += DropDownArrowRect.Height + _dropDownArrowPadding.Vertical; 59int widthOfDropDown = s_dropDownArrowSize.Width + _dropDownArrowPadding.Horizontal; 66_dropDownArrowRect = new Rectangle(_dropDownArrowPadding.Left, 0, s_dropDownArrowSize.Width, _ownerItem.Bounds.Height); 77int heightOfDropDown = s_dropDownArrowSize.Height + _dropDownArrowPadding.Vertical; 82_dropDownArrowRect = new Rectangle(0, options.Client.Bottom + _dropDownArrowPadding.Top, _ownerItem.Bounds.Width - 1, s_dropDownArrowSize.Height);