40 references to
System.Windows.Forms (22)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
141
ColumnHeader hdr = ListView.Columns
[
i];
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (7)
31
return this
[
index];
56
return this
[
index];
141
if (WindowsFormsUtils.SafeCompareStrings(this
[
_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
150
if (WindowsFormsUtils.SafeCompareStrings(this
[
i].Name, key, /* ignoreCase = */ true))
381
if (this
[
index] == value)
517
ColumnHeader removeHdr = this
[
index];
520
ColumnHeader hdr = this
[
i];
System\Windows\Forms\Controls\ListView\ListView.cs (9)
2205
Columns
[
lvhi.iItem].Text);
2403
sumOfDisplayIndices += Columns
[
i].DisplayIndex;
2404
Debug.Assert(Columns
[
i].DisplayIndex > -1 && Columns
[
i].DisplayIndex < Columns.Count, "display indices out of whack");
3868
ColumnHeader hdr = Columns
[
i];
5327
Columns
[
i].DisplayIndexInternal = indices[i];
6181
int from = Columns
[
header->iItem].DisplayIndex;
6199
Columns
[
header->iItem]);
6217
ColumnHeader hdr = Columns
[
i];
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
176
columnHeaders[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;
109
if (_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)
1018
AccessibleObject columnHeaderAccessibleObject = columns
[
i].AccessibilityObject;
System\Windows\Forms\ColumnHeaderCollectionTests.cs (2)
59
Assert.Throws<ArgumentOutOfRangeException>("index", () => collection
[
index]);
121
Assert.Equal(expectedIndex != -1 ? collection
[
expectedIndex] : null, collection[key]);
System\Windows\Forms\ColumnHeaderTests.cs (14)
138
listView.Columns
[
columnIndex].DisplayIndex = value;
145
listView.Columns
[
columnIndex].DisplayIndex = value;
171
listView.Columns
[
columnIndex].DisplayIndex = value;
181
listView.Columns
[
columnIndex].DisplayIndex = value;
219
listView.Columns
[
columnIndex].DisplayIndex = value;
1135
listView.Columns
[
columnIndex].TextAlign = value;
1136
Assert.Equal(expected, listView.Columns
[
columnIndex].TextAlign);
1140
listView.Columns
[
columnIndex].TextAlign = value;
1141
Assert.Equal(expected, listView.Columns
[
columnIndex].TextAlign);
1167
listView.Columns
[
columnIndex].TextAlign = value;
1168
Assert.Equal(expected, listView.Columns
[
columnIndex].TextAlign);
1175
listView.Columns
[
columnIndex].TextAlign = value;
1176
Assert.Equal(expected, listView.Columns
[
columnIndex].TextAlign);
1199
listView.Columns
[
columnIndex].TextAlign = value;
WinFormsControlsTest (1)
ListViewTest.cs (1)
228
listView2.Columns
[
random.Next(0, listView2.Columns.Count)].ImageIndex = random.Next(0, 2);