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