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