40 references to
System.Windows.Forms (22)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
141ColumnHeader hdr = ListView.Columns[i];
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (7)
31return this[index]; 56return this[index]; 141if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true)) 150if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, /* ignoreCase = */ true)) 381if (this[index] == value) 517ColumnHeader removeHdr = this[index]; 520ColumnHeader hdr = this[i];
System\Windows\Forms\Controls\ListView\ListView.cs (9)
2201Columns[lvhi.iItem].Text); 2399sumOfDisplayIndices += Columns[i].DisplayIndex; 2400Debug.Assert(Columns[i].DisplayIndex > -1 && Columns[i].DisplayIndex < Columns.Count, "display indices out of whack"); 3864ColumnHeader hdr = Columns[i]; 5323Columns[i].DisplayIndexInternal = indices[i]; 6177int from = Columns[header->iItem].DisplayIndex; 6195Columns[header->iItem]); 6213ColumnHeader hdr = Columns[i];
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
176columnHeaders[i] = owningListView.Columns[i].AccessibilityObject;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (3)
33? _owningListView.Columns[accessibleChildIndex - 1]._correspondingListViewSubItemIndex 34: _owningListView.Columns[accessibleChildIndex]._correspondingListViewSubItemIndex; 109if (_owningListView.Columns[i]._correspondingListViewSubItemIndex == subItemIndex)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
143? [_owningListView.Columns[Column].AccessibilityObject]
System.Windows.Forms.Tests (17)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (1)
1018AccessibleObject columnHeaderAccessibleObject = columns[i].AccessibilityObject;
System\Windows\Forms\ColumnHeaderCollectionTests.cs (2)
59Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 121Assert.Equal(expectedIndex != -1 ? collection[expectedIndex] : null, collection[key]);
System\Windows\Forms\ColumnHeaderTests.cs (14)
138listView.Columns[columnIndex].DisplayIndex = value; 145listView.Columns[columnIndex].DisplayIndex = value; 171listView.Columns[columnIndex].DisplayIndex = value; 181listView.Columns[columnIndex].DisplayIndex = value; 219listView.Columns[columnIndex].DisplayIndex = value; 1135listView.Columns[columnIndex].TextAlign = value; 1136Assert.Equal(expected, listView.Columns[columnIndex].TextAlign); 1140listView.Columns[columnIndex].TextAlign = value; 1141Assert.Equal(expected, listView.Columns[columnIndex].TextAlign); 1167listView.Columns[columnIndex].TextAlign = value; 1168Assert.Equal(expected, listView.Columns[columnIndex].TextAlign); 1175listView.Columns[columnIndex].TextAlign = value; 1176Assert.Equal(expected, listView.Columns[columnIndex].TextAlign); 1199listView.Columns[columnIndex].TextAlign = value;
WinFormsControlsTest (1)
ListViewTest.cs (1)
228listView2.Columns[random.Next(0, listView2.Columns.Count)].ImageIndex = random.Next(0, 2);