4 references to Contains
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
338
inDisplayedItemCollection = DisplayedItems.
Contains
(item);
348
if (itemCount != DisplayedItems.Count || (item is not null && (inDisplayedItemCollection != DisplayedItems.
Contains
(item))))
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
2062
if (ParentInternal is not null && ParentInternal.Items.
Contains
(this) && ParentInternal.AllowItemReorder)
2099
Debug.Assert(Owner.Items.
Contains
(this), "How can there be a owner and not be in the collection?");