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