5 references to GripBounds
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
57
Rectangle bounds = e.
GripBounds
;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
483
Rectangle bounds = e.
GripBounds
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (2)
279
Rectangle bounds = new(Point.Empty, e.
GripBounds
.Size);
291
bounds.Y = Math.Max(0, (e.
GripBounds
.Height - bounds.Height - 2/*number of pixels for border*/) / 2);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
51
Assert.Equal(toolStrip.GripRectangle, e.
GripBounds
);