43 writes to TopLeftHeaderCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
4043
TopLeftHeaderCell
= new DataGridViewTopLeftHeaderCell();
System.Windows.Forms.Tests (42)
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (14)
41
control.
TopLeftHeaderCell
= cell;
53
control.
TopLeftHeaderCell
= cell;
73
control.
TopLeftHeaderCell
= cell;
105
control.
TopLeftHeaderCell
= cell;
125
control.
TopLeftHeaderCell
= cell;
139
control.
TopLeftHeaderCell
= cell;
153
control.
TopLeftHeaderCell
= cell;
169
control.
TopLeftHeaderCell
= cell;
184
control.
TopLeftHeaderCell
= cell;
200
control.
TopLeftHeaderCell
= cell;
216
control.
TopLeftHeaderCell
= cell;
235
control.
TopLeftHeaderCell
= cell;
255
control.
TopLeftHeaderCell
= cell;
272
control.
TopLeftHeaderCell
= cell;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (20)
208
TopLeftHeaderCell
= cell
380
control.
TopLeftHeaderCell
= cell;
520
TopLeftHeaderCell
= cell
687
TopLeftHeaderCell
= cell
822
TopLeftHeaderCell
= cell
1043
control.
TopLeftHeaderCell
= cell;
1181
TopLeftHeaderCell
= cell
1313
TopLeftHeaderCell
= cell
1430
TopLeftHeaderCell
= cell
1786
TopLeftHeaderCell
= cell
1811
TopLeftHeaderCell
= cell
1992
TopLeftHeaderCell
= cell
2324
control.
TopLeftHeaderCell
= cell;
2345
control.
TopLeftHeaderCell
= cell;
2707
control.
TopLeftHeaderCell
= cell;
3104
control.
TopLeftHeaderCell
= cell;
3240
TopLeftHeaderCell
= cell
3546
control.
TopLeftHeaderCell
= cell;
3555
control.
TopLeftHeaderCell
= cell;
3787
TopLeftHeaderCell
= cell
System\Windows\Forms\DataGridViewTests.cs (8)
1740
TopLeftHeaderCell
= cell1
1749
control.
TopLeftHeaderCell
= cell1;
1758
control.
TopLeftHeaderCell
= cell2;
1769
control.
TopLeftHeaderCell
= null;
1805
control.
TopLeftHeaderCell
= cell1;
1815
control.
TopLeftHeaderCell
= cell1;
1826
control.
TopLeftHeaderCell
= cell2;
1839
control.
TopLeftHeaderCell
= null;
84 references to TopLeftHeaderCell
System.Windows.Forms (20)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
182
return owner.
TopLeftHeaderCell
.AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (17)
1761
?
TopLeftHeaderCell
.GetPreferredHeight(-1, _layout.TopLeftHeader.Width)
1762
:
TopLeftHeaderCell
.GetPreferredSize(-1).Height;
1826
?
TopLeftHeaderCell
.GetPreferredHeight(-1, _layout.TopLeftHeader.Width)
1827
:
TopLeftHeaderCell
.GetPreferredSize(-1).Height;
2019
?
TopLeftHeaderCell
.GetPreferredWidth(-1, _layout.TopLeftHeader.Height)
2020
:
TopLeftHeaderCell
.GetPreferredSize(-1).Width;
2181
?
TopLeftHeaderCell
.GetPreferredWidth(-1, _layout.TopLeftHeader.Height)
2182
:
TopLeftHeaderCell
.GetPreferredSize(-1).Width;
7118
return columnIndex >= 0 ? Columns[columnIndex].HeaderCell : (DataGridViewCell)
TopLeftHeaderCell
;
7223
cellContent =
TopLeftHeaderCell
.GetClipboardContentInternal(
7240
cellContent =
TopLeftHeaderCell
.GetClipboardContentInternal(
7511
cellContent =
TopLeftHeaderCell
.GetClipboardContentInternal(
7530
cellContent =
TopLeftHeaderCell
.GetClipboardContentInternal(
7949
cellContent =
TopLeftHeaderCell
.GetClipboardContentInternal(
7966
cellContent =
TopLeftHeaderCell
.GetClipboardContentInternal(
19665
DataGridViewCell cell =
TopLeftHeaderCell
;
29985
dataGridViewCell =
TopLeftHeaderCell
;
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
114
return _ownerDataGridView.
TopLeftHeaderCell
.AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
182
Debug.Assert(Owner.DataGridView.
TopLeftHeaderCell
.AccessibilityObject == Owner.DataGridView.AccessibilityObject.GetChild(0)!.GetChild(0));
System.Windows.Forms.Tests (64)
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (18)
254
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
280
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
303
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
326
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
430
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
456
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
479
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
502
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
533
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
560
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
581
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
610
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
636
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
662
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
781
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
810
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
836
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
862
AccessibleObject accessibleObject0 = control.
TopLeftHeaderCell
.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (28)
20
AccessibleObject expectedFirstChild = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
40
AccessibleObject expectedFirstChild = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
57
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
166
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
184
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
202
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
222
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
324
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
345
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
366
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
387
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
494
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
512
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
530
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
550
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
652
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
673
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
694
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
715
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
828
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
853
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
871
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
892
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
913
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
1025
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
1051
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
1075
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
1099
AccessibleObject topLeftAccessibilityObject = dataGridView.
TopLeftHeaderCell
.AccessibilityObject;
System\Windows\Forms\DataGridViewTests.cs (18)
1742
Assert.Same(cell1, control.
TopLeftHeaderCell
);
1750
Assert.Same(cell1, control.
TopLeftHeaderCell
);
1759
Assert.Same(cell2, control.
TopLeftHeaderCell
);
1770
DataGridViewHeaderCell cell = Assert.IsType<DataGridViewTopLeftHeaderCell>(control.
TopLeftHeaderCell
);
1774
Assert.Same(control.
TopLeftHeaderCell
, control.
TopLeftHeaderCell
);
1806
Assert.Same(cell1, control.
TopLeftHeaderCell
);
1816
Assert.Same(cell1, control.
TopLeftHeaderCell
);
1827
Assert.Same(cell2, control.
TopLeftHeaderCell
);
1840
DataGridViewHeaderCell cell = Assert.IsType<DataGridViewTopLeftHeaderCell>(control.
TopLeftHeaderCell
);
1844
Assert.Same(control.
TopLeftHeaderCell
, control.
TopLeftHeaderCell
);
1868
DataGridViewHeaderCell cell = Assert.IsType<DataGridViewTopLeftHeaderCell>(control.
TopLeftHeaderCell
);
1872
Assert.Same(control.
TopLeftHeaderCell
, control.
TopLeftHeaderCell
);
1896
DataGridViewHeaderCell cell = Assert.IsType<DataGridViewTopLeftHeaderCell>(control.
TopLeftHeaderCell
);
1900
Assert.Same(control.
TopLeftHeaderCell
, control.
TopLeftHeaderCell
);