1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4829this.owner = owner;
67 references to owner
System.Windows.Forms (67)
winforms\Managed\System\WinForms\ToolStrip.cs (67)
4838Point clientHit = owner.PointToClient(new Point(x,y)); 4839ToolStripItem item = owner.GetItemAt(clientHit); 4853if ((owner == null) || (owner.Items == null)) 4856if (index == 0 && owner.Grip.Visible) { 4857return owner.Grip.AccessibilityObject; 4859else if (owner.Grip.Visible && index > 0) { 4863if (index < owner.Items.Count) { 4868for (int i = 0; i < owner.Items.Count; ++i) 4870if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Left) { 4872item = owner.Items[i]; 4881for (int i = 0; i < owner.Items.Count; ++i) { 4882if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Right) { 4884item = owner.Items[i]; 4903if (owner.CanOverflow && owner.OverflowButton.Visible && index == owner.Items.Count) { 4904return owner.OverflowButton.AccessibilityObject; 4915if ((owner == null) || (owner.Items == null)) 4919for (int i = 0; i < owner.Items.Count; i++) { 4920if (owner.Items[i].Available) { 4924if (owner.Grip.Visible) { 4927if (owner.CanOverflow && owner.OverflowButton.Visible) { 4935var items = getOverflowItem ? owner.OverflowItems : owner.DisplayedItems; 4938if (!getOverflowItem && owner.CanOverflow && owner.OverflowButton.Visible && fragmentIndex == childFragmentCount - 1) { 4939return owner.OverflowButton.AccessibilityObject; 4955var item = owner.Items[index]; 4970if (owner == null || owner.OverflowItems == null) { 4974return owner.OverflowItems.Count; 4978if (owner == null || owner.DisplayedItems == null) { 4982return owner.DisplayedItems.Count; 4986if (owner == null || owner.Items == null) { 4990if (child.Owner == owner.Grip) { 4997if (owner is ToolStripOverflow) { 4999items = owner.DisplayedItems; 5002if (owner.CanOverflow && owner.OverflowButton.Visible && child.Owner == owner.OverflowButton) { 5007items = (placement == ToolStripItemPlacement.Main) ? owner.DisplayedItems : owner.OverflowItems; 5030if ((owner == null) || (owner.Items == null)) { 5035if (owner.Grip.Visible) { 5036if (child.Owner == owner.Grip) { 5042if (owner.CanOverflow && owner.OverflowButton.Visible && child.Owner == owner.OverflowButton) { 5043return owner.Items.Count + index; 5047for (int i = 0; i < owner.Items.Count; ++i) { 5048if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Left) { 5049if (child.Owner == owner.Items[i]) { 5057for (int i = 0; i < owner.Items.Count; ++i) { 5058if (owner.Items[i].Available && owner.Items[i].Alignment == ToolStripItemAlignment.Right) { 5059if (child.Owner == owner.Items[i]) { 5119return AccessibilityImprovements.Level3 && !owner.IsInDesignMode && !owner.IsTopInDesignMode;