12 references to DropDownButtonBounds
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
140Rectangle dropDownRect = item.DropDownButtonBounds;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
296Rectangle dropDownRect = item.DropDownButtonBounds;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (3)
172internal override Rectangle DropDownButtonArea => DropDownButtonBounds; 421if (DropDownButtonBounds.Contains(e.Location)) 448if (DropDownButtonBounds.Contains(e.Location))
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
561vsRenderer.DrawBackground(g, splitButton.DropDownButtonBounds); 577DrawArrow(new ToolStripArrowRenderEventArgs(g, splitButton, splitButton.DropDownButtonBounds, arrowColor, ArrowDirection.Down)); 615Rectangle dropDownRect = splitButton.DropDownButtonBounds;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
1191else if (_addItemButton.DropDownButtonBounds.Contains(e.Location)) 1975Rectangle buttonBounds = splitButton.DropDownButtonBounds; 2037DrawArrow(new ToolStripArrowRenderEventArgs(g, splitButton, splitButton.DropDownButtonBounds, SystemColors.ControlText, ArrowDirection.Down));
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripSplitButtonTests.cs (1)
297_toolStripSplitButton.DropDownButtonArea.Should().Be( _toolStripSplitButton.DropDownButtonBounds);