6 references to Contains
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
3503if (item.Group is not null && Groups.Contains(item.Group)) 3986Debug.Assert(group == DefaultGroup || Groups.Contains(group), "Make sure ListView.Groups contains this group before adding the native LVGROUP. Otherwise, custom-drawing may break.");
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
91_accessibilityObject = new ListViewGroupAccessibleObject(this, listView, owningGroupIsDefault: !listView.Groups.Contains(this));
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (3)
117if (Contains(group)) 218return Contains(group); 242if (Contains(group))