35 references to Grip
System.Windows.Forms (35)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (28)
738
int gripwidth =
Grip
.GripThickness +
Grip
.Margin.Horizontal;
745
int gripheight =
Grip
.GripThickness +
Grip
.Margin.Vertical;
816
Grip
.Visible = _toolStripGripStyle == ToolStripGripStyle.Visible;
841
return
Grip
.Margin;
845
Grip
.Margin = value;
857
return (GripStyle == ToolStripGripStyle.Visible) ?
Grip
.Bounds : Rectangle.Empty;
2325
maxSize.Width += gripMargin.Horizontal + toolStrip.
Grip
.GripThickness;
2383
maxSize.Height += gripMargin.Vertical + toolStrip.
Grip
.GripThickness;
3352
if (!
Grip
.MovingToolStrip)
3381
item =
Grip
;
3412
Grip
.MovingToolStrip = false;
3425
ToolStripItem? item =
Grip
.MovingToolStrip ?
Grip
: GetItemAt(mea.X, mea.Y);
4032
GripMargin =
Grip
.DefaultMargin;
4177
gripRectangle.X = Math.Max(0, displayRect.X -
Grip
.GripThickness);
4178
gripRectangle.Y = Math.Max(0, displayRect.Top -
Grip
.Margin.Top);
4179
gripRectangle.Width =
Grip
.GripThickness;
4183
gripRectangle.X = ClientRectangle.Right - gripRectangle.Width -
Grip
.Margin.Horizontal;
4184
gripRectangle.X +=
Grip
.Margin.Left;
4188
gripRectangle.X -=
Grip
.Margin.Right;
4195
gripRectangle.Y = displayRect.Top - (
Grip
.GripThickness +
Grip
.Margin.Bottom);
4197
gripRectangle.Height =
Grip
.GripThickness;
4200
if (
Grip
.Bounds != gripRectangle)
4202
Grip
.SetBounds(gripRectangle);
4246
DisplayedItems.Add(
Grip
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (7)
48
if (index == 0 && owner.
Grip
.Visible)
50
return owner.
Grip
.AccessibilityObject;
52
else if (owner.
Grip
.Visible && index > 0)
137
if (owner.
Grip
.Visible)
286
if (child.Owner == owner.
Grip
)
332
if (owner.
Grip
.Visible)
334
if (child.Owner == owner.
Grip
)