16 references to GripRectangle
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
405get => base.GripRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
21public Rectangle GripBounds => ToolStrip.GripRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
955Point cursorLoc = toolStripToDrag.PointToScreen(toolStripToDrag.GripRectangle.Location); 958cursorLoc.X += toolStripToDrag.GripRectangle.Width / 2; 963cursorLoc.Y += toolStripToDrag.GripRectangle.Height / 2;
System.Windows.Forms.Tests (11)
System\Windows\Forms\MenuStripTests.cs (1)
85Assert.Equal(Rectangle.Empty, control.GripRectangle);
System\Windows\Forms\StatusStripTests.cs (1)
85Assert.Equal(Rectangle.Empty, control.GripRectangle);
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
51Assert.Equal(toolStrip.GripRectangle, e.GripBounds);
System\Windows\Forms\ToolStripTests.cs (8)
100Assert.Equal(2, control.GripRectangle.X); 101Assert.Equal(0, control.GripRectangle.Y); 102Assert.True(control.GripRectangle.Width > 0); 103Assert.Equal(25, control.GripRectangle.Height); 254Assert.Equal(2, control.GripRectangle.X); 255Assert.Equal(0, control.GripRectangle.Y); 256Assert.True(control.GripRectangle.Width > 0); 257Assert.Equal(25, control.GripRectangle.Height);