15 instantiations of ToolStripItemCollection
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
713_displayedItems ??= new ToolStripItemCollection(this, false); 1046_toolStripItemCollection ??= new ToolStripItemCollection(this, true); 1373_overflowItems ??= new ToolStripItemCollection(this, false);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (2)
30return new ToolStripItemCollection(owner: null, itemsCollection: false); 38return new ToolStripItemCollection(owner: null, itemsCollection: false, isReadOnly: true);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ToolStripItemCollectionTests.cs (10)
160ToolStripItemCollection collection = new(toolStrip, items); 171return new ToolStripItemCollection(toolStrip, toolStripItems); 259ToolStripItemCollection collection = new(toolStrip, items); 272ToolStripItemCollection collection = new(toolStrip, items); 285ToolStripItemCollection collection = new(toolStrip, items); 318ToolStripItemCollection collection = new(toolStrip2, Array.Empty<ToolStripItem>()); 331ToolStripItemCollection collection = new(toolStrip, items); 348ToolStripItemCollection collection = new(toolStrip2, Array.Empty<ToolStripItem>()); 361ToolStripItemCollection collection = new(toolStrip, Array.Empty<ToolStripItem>()); 374ToolStripItemCollection collection = new(toolStrip, Array.Empty<ToolStripItem>());
61 references to ToolStripItemCollection
System.Windows.Forms (25)
System\Windows\Forms\Controls\ToolStrips\MergeHistoryItem.cs (2)
21public ToolStripItemCollection? PreviousIndexCollection { get; set; } 23public ToolStripItemCollection? IndexCollection { get; set; }
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (8)
29private ToolStripItemCollection? _toolStripItemCollection; 32private ToolStripItemCollection? _displayedItems; 33private ToolStripItemCollection? _overflowItems; 709protected internal virtual ToolStripItemCollection DisplayedItems 1042public virtual ToolStripItemCollection Items 1369internal ToolStripItemCollection OverflowItems 3934internal virtual void ReleaseToolStripItemsProviders(ToolStripItemCollection items) 3941ToolStripItemCollection dropDownMenuItems = dropDownItem.DropDownItems;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (3)
156ToolStripItemCollection items = getOverflowItem 206AccessibleObject? GetFollowingChildFragment(int index, ToolStripItemCollection items, NavigateDirection direction) 290ToolStripItemCollection items;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
244public ToolStripItemCollection DropDownItems
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
568internal override void ReleaseToolStripItemsProviders(ToolStripItemCollection items)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3554ToolStripItemCollection items = _parent.DisplayedItems;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (2)
135public void AddRange(ToolStripItemCollection toolStripItems) 255private static void FindInternal(string key, bool searchAllChildren, ToolStripItemCollection itemsToLookIn, List<ToolStripItem> foundItems)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
1030private static ToolStripItem? FindMatch(ToolStripItem source, ToolStripItemCollection destinationItems) 1144private static void MergeRecursive(ToolStripItem source, ToolStripItemCollection destinationItems, Stack<MergeHistoryItem> history)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (2)
63ToolStripItemCollection? displayedItems = _owningToolStripMenuItem.ParentInternal?.DisplayedItems; 98ToolStripItemCollection? displayedItems = _owningToolStripMenuItem.ParentInternal?.DisplayedItems;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (3)
20protected internal override ToolStripItemCollection DisplayedItems 26ToolStripItemCollection items = ParentToolStrip.OverflowItems; 34public override ToolStripItemCollection Items
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
117private void SiteItems(IDesignerHost? host, ToolStripItemCollection items)
System\Windows\Forms\Design\ToolStripCollectionEditor.cs (1)
11public ToolStripCollectionEditor() : base(typeof(ToolStripItemCollection))
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
46private ToolStripItemCollection _targetToolStripCollection; 119internal ToolStripItemCollection Collection 430Collection = (ToolStripItemCollection)EditValue;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (3)
1826ToolStripItemCollection collection = wb.Items; 1969ToolStripItemCollection collection = parent.Items; 1974ToolStripItemCollection collection = parent.Items;
System.Windows.Forms.Tests (28)
System\Windows\Forms\MdiControlStripTests.cs (1)
384public new ToolStripItemCollection DisplayedItems => base.DisplayedItems;
System\Windows\Forms\MenuStripTests.cs (1)
880public new ToolStripItemCollection DisplayedItems => base.DisplayedItems;
System\Windows\Forms\StatusStripTests.cs (1)
1302public new ToolStripItemCollection DisplayedItems => base.DisplayedItems;
System\Windows\Forms\ToolStripDropDownTests.cs (2)
4886ToolStripItemCollection items = toolStrip.DropDown.DisplayedItems; 5120public new ToolStripItemCollection DisplayedItems => base.DisplayedItems;
System\Windows\Forms\ToolStripItemCollectionTests.cs (21)
45ToolStripItemCollection collection = toolStrip.DropDownItems; 84var collection = toolStrip.DropDown.DisplayedItems; 98var collection = toolStrip.DropDown.DisplayedItems; 134ToolStripItemCollection itemCollection = new(toolStrip, 160ToolStripItemCollection collection = new(toolStrip, items); 167private ToolStripItemCollection CreateToolStripItemCollectionWithItems(params (string Key, string Name)[] items) 177ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 189ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 202ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 214ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 230ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 245ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 259ToolStripItemCollection collection = new(toolStrip, items); 272ToolStripItemCollection collection = new(toolStrip, items); 285ToolStripItemCollection collection = new(toolStrip, items); 299ToolStripItemCollection collection = CreateToolStripItemCollectionWithItems( 318ToolStripItemCollection collection = new(toolStrip2, Array.Empty<ToolStripItem>()); 331ToolStripItemCollection collection = new(toolStrip, items); 348ToolStripItemCollection collection = new(toolStrip2, Array.Empty<ToolStripItem>()); 361ToolStripItemCollection collection = new(toolStrip, Array.Empty<ToolStripItem>()); 374ToolStripItemCollection collection = new(toolStrip, Array.Empty<ToolStripItem>());
System\Windows\Forms\ToolStripTests.cs (2)
7472public new ToolStripItemCollection DisplayedItems => base.DisplayedItems; 7525public new ToolStripItemCollection DisplayedItems => base.DisplayedItems;