9 references to IndexOf
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (3)
348return IndexOf(value) != -1; 394return IndexOf(columnHeader); 569int index = IndexOf(column);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (6)
624Assert.Equal(0, collection.IndexOf(header)); 625Assert.Equal(-1, collection.IndexOf(new ColumnHeader())); 626Assert.Equal(-1, collection.IndexOf(null)); 635Assert.Equal(-1, collection.IndexOf(new ColumnHeader())); 636Assert.Equal(-1, collection.IndexOf(null)); 673Assert.Equal(-1, collection.IndexOf(null));