4 types derived from DataGridViewRow
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (1)
12
public class DataGridViewRowAccessibleObjectTests :
DataGridViewRow
System\Windows\Forms\DataGridViewRowTests.cs (3)
5755
private class CustomStateDataGridViewRow :
DataGridViewRow
5766
public class SubDataGridViewRow :
DataGridViewRow
5819
internal class TestDataGridViewRow :
DataGridViewRow
213 instantiations of DataGridViewRow
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
377
DataGridViewRow row = new
DataGridViewRow
();
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3539
_rowTemplate ??= new
DataGridViewRow
();
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1049
dataGridViewRow = new
DataGridViewRow
();
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
51
DataGridViewRow row =
new
();
61
row = new
DataGridViewRow
();
System.Windows.Forms.Tests (207)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (15)
108
DataGridViewRow row =
new
();
138
DataGridViewRow row =
new
();
206
OwningRow = new
DataGridViewRow
()
217
OwningRow = new
DataGridViewRow
(),
315
DataGridViewRow row =
new
();
429
DataGridViewRow row =
new
();
647
dataGridView.Rows.Add(new
DataGridViewRow
());
648
dataGridView.Rows.Add(new
DataGridViewRow
());
681
dataGridView.Rows.Add(new
DataGridViewRow
());
696
dataGridView.Rows.Add(new
DataGridViewRow
());
711
dataGridView.Rows.Add(new
DataGridViewRow
());
741
dataGridView.Rows.Add(new
DataGridViewRow
());
762
OwningRow = new
DataGridViewRow
()
1041
dataGridView.Rows.Add(new
DataGridViewRow
());
1484
dataGridView.Rows.Add(new
DataGridViewRow
());
System\Windows\Forms\AccessibleObjects\DataGridViewCheckBoxCellAccessibleObjectTests.cs (5)
115
using DataGridViewRow row =
new
();
135
control.Rows.Add(new
DataGridViewRow
());
159
control.Rows.Add(new
DataGridViewRow
());
214
control.Rows.Add(new
DataGridViewRow
());
255
using DataGridViewRow row =
new
();
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (22)
28
yield return new object[] { new
DataGridViewRow
() };
45
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), Rectangle.Empty };
71
AccessibleObject accessibilityObject = new DataGridViewRowAccessibleObject(new
DataGridViewRow
());
169
using DataGridViewRow owner =
new
();
180
using DataGridViewRow owner =
new
();
187
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), null };
206
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), AccessibleStates.Selected | AccessibleStates.Selectable };
225
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), string.Empty };
261
using DataGridViewRow owner =
new
();
286
using DataGridViewRow owner =
new
();
302
using DataGridViewRow owner =
new
();
310
using DataGridViewRow owner =
new
();
332
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), AccessibleNavigation.Up - 1, null };
333
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), AccessibleNavigation.LastChild + 1, null };
334
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), AccessibleNavigation.Left, null };
335
yield return new object[] { new DataGridViewRowAccessibleObject(new
DataGridViewRow
()), AccessibleNavigation.Right, null };
361
using DataGridViewRow owner =
new
();
377
using DataGridViewRow owner =
new
();
393
using DataGridViewRow dataGridViewRow =
new
();
401
using DataGridViewRow dataGridViewRow =
new
();
2383
dataGridView.Rows.Add(new
DataGridViewRow
());
2399
dataGridView.Rows.Add(new
DataGridViewRow
());
System\Windows\Forms\DataGridViewButtonColumnTests.cs (2)
45
using DataGridViewRow row =
new
();
88
using DataGridViewRow row =
new
();
System\Windows\Forms\DataGridViewCellTests.ClipboardTests.cs (1)
34
using DataGridViewRow row =
new
();
System\Windows\Forms\DataGridViewCellTests.cs (48)
65
using DataGridViewRow row =
new
();
118
using DataGridViewRow row =
new
()
247
using DataGridViewRow row =
new
();
395
using DataGridViewRow row =
new
()
620
using DataGridViewRow row =
new
();
704
using DataGridViewRow row =
new
();
736
using DataGridViewRow row =
new
();
937
using DataGridViewRow row =
new
();
953
using DataGridViewRow row =
new
();
1268
using DataGridViewRow row =
new
();
1346
using DataGridViewRow row =
new
()
1411
using DataGridViewRow row =
new
();
1423
using DataGridViewRow row =
new
()
1518
using DataGridViewRow row =
new
();
1536
using DataGridViewRow row =
new
();
1597
using DataGridViewRow row =
new
()
1673
using DataGridViewRow row =
new
();
1702
using DataGridViewRow row =
new
()
1734
using DataGridViewRow row =
new
()
1993
using DataGridViewRow row =
new
()
2064
using DataGridViewRow row =
new
();
2124
using DataGridViewRow row =
new
();
2291
using DataGridViewRow row =
new
();
2313
using DataGridViewRow row =
new
();
2533
using DataGridViewRow row =
new
();
2611
using DataGridViewRow row =
new
();
2627
using DataGridViewRow row =
new
();
2774
using DataGridViewRow row =
new
();
2849
using DataGridViewRow row =
new
();
2867
using DataGridViewRow row =
new
();
2999
using DataGridViewRow row =
new
()
3038
control.Rows.Add(new
DataGridViewRow
());
3224
using DataGridViewRow row =
new
()
3590
using DataGridViewRow row =
new
();
3716
using DataGridViewRow row =
new
();
3867
using DataGridViewRow row =
new
();
4158
using DataGridViewRow row =
new
();
4212
using DataGridViewRow row =
new
()
4225
using DataGridViewRow row =
new
()
4426
using DataGridViewRow row =
new
();
4438
using DataGridViewRow row =
new
()
4646
using DataGridViewRow row =
new
();
4714
using DataGridViewRow row =
new
();
4853
using DataGridViewRow row =
new
();
4971
using DataGridViewRow row =
new
();
4985
using DataGridViewRow row =
new
();
6268
using DataGridViewRow row =
new
();
6396
using DataGridViewRow row =
new
();
System\Windows\Forms\DataGridViewColumnTests.cs (1)
1001
using DataGridViewRow column =
new
();
System\Windows\Forms\DataGridViewHeaderCellTests.cs (41)
57
using DataGridViewRow row =
new
()
70
using DataGridViewRow row =
new
()
466
using DataGridViewRow row =
new
()
564
using DataGridViewRow row =
new
()
577
using DataGridViewRow row =
new
()
731
using DataGridViewRow row =
new
();
743
using DataGridViewRow row =
new
();
867
using DataGridViewRow row =
new
()
882
using DataGridViewRow row =
new
()
1082
using DataGridViewRow row =
new
();
1091
using DataGridViewRow row =
new
();
1216
using DataGridViewRow row =
new
();
1228
using DataGridViewRow row =
new
();
1341
using DataGridViewRow row =
new
();
1350
using DataGridViewRow row =
new
();
1480
using DataGridViewRow row =
new
();
1500
using DataGridViewRow row =
new
();
1528
using DataGridViewRow row =
new
();
1546
using DataGridViewRow row =
new
();
1842
using DataGridViewRow row =
new
()
1855
using DataGridViewRow row =
new
()
1909
control.Rows.Add(new
DataGridViewRow
());
1934
control.Rows.Add(new
DataGridViewRow
());
1960
control.Rows.Add(new
DataGridViewRow
());
2227
using DataGridViewRow row =
new
()
2240
using DataGridViewRow row =
new
()
2451
using DataGridViewRow row =
new
();
2463
using DataGridViewRow row =
new
()
3013
using DataGridViewRow row =
new
();
3024
using DataGridViewRow row =
new
();
3127
using DataGridViewRow row =
new
();
3136
using DataGridViewRow row =
new
();
3145
using DataGridViewRow row =
new
();
3282
using DataGridViewRow row =
new
();
3294
using DataGridViewRow row =
new
();
3367
using DataGridViewRow row =
new
();
3377
using DataGridViewRow row =
new
();
3393
using DataGridViewRow row =
new
();
3407
using DataGridViewRow row =
new
();
3724
using DataGridViewRow row =
new
();
4635
using DataGridViewRow row =
new
();
System\Windows\Forms\DataGridViewRowCancelEventArgsTests.cs (1)
15
DataGridViewRow dataGridViewRow =
new
();
System\Windows\Forms\DataGridViewRowConverterTests.cs (2)
17
using DataGridViewRow row =
new
();
26
using DataGridViewRow row =
new
();
System\Windows\Forms\DataGridViewRowEventArgsTests.cs (1)
14
using DataGridViewRow dataGridViewRow =
new
();
System\Windows\Forms\DataGridViewRowStateChangedEventArgsTests.cs (2)
13
yield return new object[] { new
DataGridViewRow
(), (DataGridViewElementStates)7 };
14
yield return new object[] { new
DataGridViewRow
(), DataGridViewElementStates.Displayed };
System\Windows\Forms\DataGridViewRowTests.cs (55)
158
using DataGridViewRow row =
new
()
174
using DataGridViewRow row =
new
()
233
using DataGridViewRow row =
new
()
248
using DataGridViewRow row =
new
()
402
using DataGridViewRow row =
new
()
423
using DataGridViewRow row =
new
()
608
using DataGridViewRow row =
new
()
723
using DataGridViewRow row =
new
();
731
using DataGridViewRow row =
new
()
797
using DataGridViewRow row =
new
()
875
using DataGridViewRow row =
new
();
985
using DataGridViewRow row =
new
()
1000
using DataGridViewRow row =
new
()
1169
using DataGridViewRow row =
new
()
1477
using DataGridViewRow row =
new
()
1511
using DataGridViewRow row =
new
()
1546
using DataGridViewRow otherRow =
new
()
1550
using DataGridViewRow row =
new
()
1913
using DataGridViewRow row =
new
()
2016
using DataGridViewRow row =
new
();
2186
using DataGridViewRow row =
new
();
2380
using DataGridViewRow row =
new
()
2486
using DataGridViewRow row =
new
();
2550
using DataGridViewRow row =
new
()
2619
using DataGridViewRow row =
new
();
2773
using DataGridViewRow row =
new
()
2788
using DataGridViewRow row =
new
()
2901
using DataGridViewRow row =
new
();
2932
using DataGridViewRow row =
new
();
2981
control.Rows.Add(new
DataGridViewRow
());
2982
control.Rows.Add(new
DataGridViewRow
());
3015
control.Rows.Add(new
DataGridViewRow
());
3016
control.Rows.Add(new
DataGridViewRow
());
3106
using DataGridViewRow row =
new
()
3121
using DataGridViewRow row =
new
()
3257
using DataGridViewRow row =
new
()
3885
using DataGridViewRow row =
new
();
3904
using DataGridViewRow source =
new
();
3928
using DataGridViewRow source =
new
()
4058
using DataGridViewRow row =
new
();
4072
using DataGridViewRow row =
new
();
4085
using DataGridViewRow row =
new
();
4102
using DataGridViewRow row =
new
();
4112
using DataGridViewRow row =
new
();
4137
using DataGridViewRow row =
new
();
4145
using DataGridViewRow row =
new
();
4160
using DataGridViewRow row =
new
();
4172
using DataGridViewRow row =
new
()
4256
using DataGridViewRow row =
new
();
4392
using DataGridViewRow row =
new
();
4513
using DataGridViewRow row =
new
();
4550
using DataGridViewRow row =
new
();
5686
using DataGridViewRow row =
new
();
5712
using DataGridViewRow row =
new
();
5726
using DataGridViewRow row =
new
();
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (11)
112
Assert.False(collection.Contains(new
DataGridViewRow
()));
119
yield return new object[] { new
DataGridViewRow
() };
164
yield return new object[] { index, new
DataGridViewRow
() };
264
yield return new object[] { 1, new
DataGridViewRow
() };
281
yield return new object[] { new
DataGridViewRow
() };
337
yield return new object[] { new
DataGridViewRow
() };
367
Assert.False(iList.Contains(new
DataGridViewRow
()));
427
yield return new object[] { new
DataGridViewRow
() };
457
Assert.Equal(-1, iList.IndexOf(new
DataGridViewRow
()));
467
yield return new object[] { index, new
DataGridViewRow
() };
485
yield return new object[] { new
DataGridViewRow
() };
WinFormsControlsTest (1)
DataGridViewTest.cs (1)
26
dataGridView1.Rows.Add(new
DataGridViewRow
() { Visible = false });
645 references to DataGridViewRow
PresentationUI (16)
MS\Internal\Documents\RMPublishingDialog.cs (2)
242
foreach (
DataGridViewRow
row in rightsTable.Rows)
563
DataGridViewRow
row = rightsTable.SelectedRows[0];
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (14)
65
public static bool IsEveryone(
DataGridViewRow
row)
76
public static RightsManagementPermissions GetPermissionsFromRow(
DataGridViewRow
row)
173
DataGridViewRow
row = this.SelectedRows[0];
264
public static string GetUsernameFromRow(
DataGridViewRow
row)
290
foreach (
DataGridViewRow
row in Rows)
375
private
DataGridViewRow
CreateDataGridViewRow(RightsTableUser newUser, bool isViewerOwner)
377
DataGridViewRow
row = new DataGridViewRow();
619
private void UpdateAllRowsFromEveryone(
DataGridViewRow
everyoneRow)
626
DataGridViewRow
currentRow = Rows[rowIndex];
640
private void UpdateRowFromEveryone(
DataGridViewRow
everyoneRow,
DataGridViewRow
targetRow)
727
private void UpdateAllRowsOnEveryoneRemoval(
DataGridViewRow
everyoneRow)
758
private void UpdateAllowOwner(
DataGridViewRow
row)
783
DataGridViewRow
everyoneRow = null;
System.Windows.Forms (208)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (16)
261
private
DataGridViewRow
? _rowTemplate;
297
private readonly List<
DataGridViewRow
> _lstRows;
1716
DataGridViewRow
dataGridViewRow = Rows[_ptCurrentCell.Y]; // un-sharing row
1784
DataGridViewRow
dataGridViewRow = Rows.SharedRow(_ptCurrentCell.Y);
1846
public
DataGridViewRow
? CurrentRow
3535
public
DataGridViewRow
RowTemplate
3545
DataGridViewRow
? dataGridViewRow = value;
3565
internal
DataGridViewRow
RowTemplateClone
3569
DataGridViewRow
rowTemplateClone = (
DataGridViewRow
)RowTemplate.Clone();
3648
foreach (
DataGridViewRow
dataGridViewRow in Rows) // un-shares all rows!
3667
DataGridViewRow
dataGridViewRow = Rows[rowIndex]; // un-shares the selected row
4014
DataGridViewRow
row = Rows[rowIndex];
4019
DataGridViewRow
row = Rows[rowIndex];
4030
DataGridViewRow
row = Rows[rowIndex];
4035
DataGridViewRow
row = Rows[rowIndex];
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (63)
314
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
1392
DataGridViewRow
? dataGridViewRow;
2043
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
2060
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
2205
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndexTmp);
2222
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndexTmp);
2294
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
4184
internal void CompleteCellsCollection(
DataGridViewRow
dataGridViewRow)
5220
private void CorrectRowFrozenState(
DataGridViewRow
dataGridViewRow, DataGridViewElementStates rowState, int anticipatedRowIndex)
5252
private void CorrectRowFrozenStates(
DataGridViewRow
[] dataGridViewRows, int rowIndexInserted)
5287
private void CorrectRowFrozenStates(
DataGridViewRow
dataGridViewRow, int rowIndex, bool frozenStateChanging)
5354
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
5380
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
5464
DataGridViewRow
dataGridViewRow = Rows[NewRowIndex];
6326
DataGridViewRow
dataGridViewRow = Rows.SharedRow(_trackRow);
6909
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
6928
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
6956
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
7109
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
10599
DataGridViewRow
dataGridViewRowDebug = Rows.SharedRow(rowIndex);
10610
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
10716
internal void OnAddedRows_PreNotification(
DataGridViewRow
[] dataGridViewRows)
10720
foreach (
DataGridViewRow
dataGridViewRow in dataGridViewRows)
10726
internal void OnAddedRows_PostNotification(
DataGridViewRow
[] dataGridViewRows)
10728
foreach (
DataGridViewRow
dataGridViewRow in dataGridViewRows)
10809
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
10831
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
10961
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
10982
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
10994
internal void OnAddingRow(
DataGridViewRow
dataGridViewRow, DataGridViewElementStates rowState, bool checkFrozenState)
11032
internal void OnAddingRows(
DataGridViewRow
[] dataGridViewRows, bool checkFrozenStates)
11037
foreach (
DataGridViewRow
dataGridViewRow in dataGridViewRows)
11079
foreach (
DataGridViewRow
dataGridViewRow in dataGridViewRows)
11363
DataGridViewRowEventArgs dgvre = new((
DataGridViewRow
)dataGridViewBand);
11377
DataGridViewRowEventArgs dgvre = new((
DataGridViewRow
)dataGridViewBand);
11391
DataGridViewRowEventArgs dgvre = new((
DataGridViewRow
)dataGridViewBand);
11405
DataGridViewRowEventArgs dgvre = new((
DataGridViewRow
)dataGridViewBand);
11419
DataGridViewRowEventArgs dgvre = new((
DataGridViewRow
)dataGridViewBand);
11433
DataGridViewRowEventArgs dgvre = new((
DataGridViewRow
)dataGridViewBand);
13181
foreach (
DataGridViewRow
dataGridViewRow in _lstRows)
14662
if (element is
DataGridViewRow
dataGridViewRow)
14778
if (element is
DataGridViewRow
dataGridViewRow)
15325
internal void OnInsertedRows_PreNotification(int rowIndex,
DataGridViewRow
[] dataGridViewRows)
15341
internal void OnInsertedRows_PostNotification(
DataGridViewRow
[] dataGridViewRows, Point newCurrentCell)
15444
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
15465
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
15521
DataGridViewRow
dataGridViewRow,
15609
internal void OnInsertingRows(int rowIndexInserted,
DataGridViewRow
[] dataGridViewRows, ref Point newCurrentCell)
16945
internal void OnRemovedRow_PostNotification(
DataGridViewRow
dataGridViewRow, Point newCurrentCell)
17115
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
17375
internal void OnReplacedCell(
DataGridViewRow
dataGridViewRow, int columnIndex)
17403
internal void OnReplacingCell(
DataGridViewRow
dataGridViewRow, int columnIndex)
17532
DataGridViewRow
dataGridViewRow,
17753
internal void OnRowErrorTextChanged(
DataGridViewRow
dataGridViewRow)
18560
DataGridViewRow
dataGridViewRow = e.Row;
18699
internal void OnRowUnshared(
DataGridViewRow
dataGridViewRow)
19561
DataGridViewRow
dataGridViewRow;
19772
DataGridViewRow
newRow = Rows.SharedRow(NewRowIndex);
19959
DataGridViewRow
dataGridViewRow = Rows[rowIndex];
25608
foreach (
DataGridViewRow
row in Rows)
25930
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
27474
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
27624
DataGridViewRow
dataGridViewRow = Rows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (6)
48
return ((
DataGridViewRow
)this).GetContextMenuStrip(Index);
240
headerCell.OwningRow = (
DataGridViewRow
)this; // may be a shared row
287
nameof(
DataGridViewRow
.HeaderCell),
296
value.OwningRow = (
DataGridViewRow
)this; // may be a shared row
337
protected bool IsRow => this is
DataGridViewRow
;
436
foreach (DataGridViewCell? dataGridViewCell in ((
DataGridViewRow
)this).Cells)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (3)
86
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
129
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
174
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
419
public
DataGridViewRow
? OwningRow { get; internal set; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (2)
18
private readonly
DataGridViewRow
_owner;
54
public DataGridViewCellCollection(
DataGridViewRow
dataGridViewRow)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (5)
90
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
133
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
177
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
217
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
271
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
927
DataGridViewRow
dataGridViewRow;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
1067
foreach (
DataGridViewRow
row in DataGridView.Rows)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (11)
56
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
119
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
165
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
208
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
252
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
296
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
337
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
400
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
443
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
484
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
527
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
26
GetType() == typeof(
DataGridViewRow
) || GetType() == typeof(DataGridViewCell) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (3)
97
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
171
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
211
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (7)
55
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
124
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
166
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
216
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
261
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
304
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
346
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (6)
15
private static readonly Type s_rowType = typeof(
DataGridViewRow
);
28
/// Initializes a new instance of the <see cref="
DataGridViewRow
"/> class.
1043
DataGridViewRow
dataGridViewRow;
1053
dataGridViewRow = (
DataGridViewRow
)Activator.CreateInstance(thisType)!;
1075
private void CloneCells(
DataGridViewRow
rowTemplate)
1426
DataGridViewRow
sharedRow = dataGridView.Rows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (3)
17
private
DataGridViewRow
? _owningDataGridViewRow;
24
public DataGridViewRowAccessibleObject(
DataGridViewRow
owner)
107
public
DataGridViewRow
? Owner
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (2)
10
private readonly
DataGridViewRow
_owningDataGridViewRow;
13
internal DataGridViewSelectedRowCellsAccessibleObject(
DataGridViewRow
owner)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCancelEventArgs.cs (2)
10
public DataGridViewRowCancelEventArgs(
DataGridViewRow
? dataGridViewRow)
15
public
DataGridViewRow
? Row { get; set; }
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (58)
11
/// Represents a collection of <see cref="
DataGridViewRow
"/> objects in the
39
int IList.Add(object? value) => Add((
DataGridViewRow
)value!);
45
int IList.IndexOf(object? value) => _items.IndexOf((
DataGridViewRow
)value!);
47
void IList.Insert(int index, object? value) => Insert(index, (
DataGridViewRow
)value!);
49
void IList.Remove(object? value) => Remove((
DataGridViewRow
)value!);
110
internal List<
DataGridViewRow
> SharedList => _items;
112
public
DataGridViewRow
SharedRow(int rowIndex) => SharedList[rowIndex];
119
public
DataGridViewRow
this[int index]
123
DataGridViewRow
dataGridViewRow = SharedRow(index);
137
DataGridViewRow
newDataGridViewRow = (
DataGridViewRow
)dataGridViewRow.Clone();
204
DataGridViewRow
dataGridViewRow = DataGridView.RowTemplateClone;
296
/// Adds a <see cref="
DataGridViewRow
"/> to this collection.
298
public virtual int Add(
DataGridViewRow
dataGridViewRow)
348
DataGridViewRow
rowTemplate = DataGridView.RowTemplateClone;
380
internal int AddInternal(
DataGridViewRow
dataGridViewRow)
499
DataGridViewRow
rowTemplate = SharedRow(indexSource);
582
private int AddCopiesPrivate(
DataGridViewRow
rowTemplate, DataGridViewElementStates rowTemplateState, int count)
619
DataGridViewRow
rowTemplate2 = SharedRow(index);
669
private int AddDuplicateRow(
DataGridViewRow
rowTemplate, bool newRow)
673
DataGridViewRow
dataGridViewRow = (
DataGridViewRow
)rowTemplate.Clone();
712
public virtual void AddRange(params
DataGridViewRow
[] dataGridViewRows)
746
foreach (
DataGridViewRow
dataGridViewRow in dataGridViewRows)
842
public virtual bool Contains(
DataGridViewRow
dataGridViewRow)
847
public void CopyTo(
DataGridViewRow
[] array, int index)
1204
internal int GetVisibleIndex(
DataGridViewRow
row)
1334
DataGridViewRow
dataGridViewRow = SharedRow(rowIndex);
1346
public int IndexOf(
DataGridViewRow
dataGridViewRow)
1367
DataGridViewRow
dataGridViewRow = DataGridView.RowTemplateClone;
1373
/// Inserts a <see cref="
DataGridViewRow
"/> to this collection.
1375
public virtual void Insert(int rowIndex,
DataGridViewRow
dataGridViewRow)
1429
DataGridViewRow
rowTemplate = DataGridView.RowTemplateClone;
1452
internal void InsertInternal(int rowIndex,
DataGridViewRow
dataGridViewRow)
1492
internal void InsertInternal(int rowIndex,
DataGridViewRow
dataGridViewRow, bool force)
1610
private void InsertCopiesPrivate(
DataGridViewRow
rowTemplate, DataGridViewElementStates rowTemplateState, int indexDestination, int count)
1660
DataGridViewRow
rowTemplate2 = SharedRow(indexDestination);
1708
private void InsertDuplicateRow(int indexDestination,
DataGridViewRow
rowTemplate, bool firstInsertion, ref Point newCurrentCell)
1712
DataGridViewRow
dataGridViewRow = (
DataGridViewRow
)rowTemplate.Clone();
1745
/// Inserts a range of <see cref="
DataGridViewRow
"/> to this collection.
1747
public virtual void InsertRange(int rowIndex, params
DataGridViewRow
[] dataGridViewRows)
1792
foreach (
DataGridViewRow
dataGridViewRow in dataGridViewRows)
1912
DataGridViewRow
? dataGridViewRow = (
DataGridViewRow
?)e.Element;
1938
DataGridViewRow
? dataGridViewRow = (
DataGridViewRow
?)e.Element;
1960
[AllowNull] ref
DataGridViewRow
dataGridViewRow,
2087
DataGridViewRow
dataGridViewRow,
2142
public virtual void Remove(
DataGridViewRow
dataGridViewRow)
2179
if (DataGridView.IsAccessibilityObjectCreated && OsVersion.IsWindows8OrGreater() && this[index] is
DataGridViewRow
row)
2215
DataGridViewRow
dataGridViewRow = SharedRow(index);
2240
private static bool RowHasValueOrToolTipText(
DataGridViewRow
dataGridViewRow)
2262
DataGridViewRow
dataGridViewRow = SharedRow(index);
2291
DataGridViewRow
dataGridViewRow = SharedRow(rowIndex);
2385
DataGridViewRow
dataGridViewRow1 = SharedRow(rowIndex1);
2386
DataGridViewRow
dataGridViewRow2 = SharedRow(rowIndex2);
2425
private void UpdateRowCaches(int rowIndex, [AllowNull] ref
DataGridViewRow
dataGridViewRow, bool adding)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.RowComparer.cs (3)
52
DataGridViewRow
dataGridViewRow = _dataGridViewRows.SharedRow(rowIndex);
132
Debug.Assert(value1 is
DataGridViewRow
);
133
Debug.Assert(value2 is
DataGridViewRow
);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.RowList.cs (1)
8
private class RowList : List<
DataGridViewRow
>
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (1)
27
if (value is
DataGridViewRow
row && destinationType == typeof(InstanceDescriptor))
System\Windows\Forms\Controls\DataGridView\DataGridViewRowEventArgs.cs (2)
8
public DataGridViewRowEventArgs(
DataGridViewRow
dataGridViewRow)
13
public
DataGridViewRow
Row { get; }
System\Windows\Forms\Controls\DataGridView\DataGridViewRowStateChangedEventArgs.cs (2)
8
public DataGridViewRowStateChangedEventArgs(
DataGridViewRow
dataGridViewRow, DataGridViewElementStates stateChanged)
14
public
DataGridViewRow
Row { get; }
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (6)
16
private readonly List<
DataGridViewRow
> _items = [];
58
public
DataGridViewRow
this[int index] => _items[index];
63
internal int Add(
DataGridViewRow
dataGridViewRow) => ((IList)_items).Add(dataGridViewRow);
71
public bool Contains(
DataGridViewRow
dataGridViewRow) => ((IList)_items).Contains(dataGridViewRow);
73
public void CopyTo(
DataGridViewRow
[] array, int index) => _items.CopyTo(array, index);
76
public void Insert(int index,
DataGridViewRow
dataGridViewRow) => throw new NotSupportedException(SR.DataGridView_ReadOnlyCollection);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
67
DataGridViewRow
dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
213
DataGridViewRow
row = Owner.DataGridView.Rows[Owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.Visible)];
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
51
DataGridViewRow
row = new();
System.Windows.Forms.Tests (419)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (3)
389
foreach (
DataGridViewRow
row in dataGridView.Rows)
414
foreach (
DataGridViewRow
row in dataGridView.Rows)
439
foreach (
DataGridViewRow
row in dataGridView.Rows)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (7)
108
DataGridViewRow
row = new();
138
DataGridViewRow
row = new();
315
DataGridViewRow
row = new();
429
DataGridViewRow
row = new();
654
foreach (
DataGridViewRow
row in dataGridView.Rows)
1057
DataGridViewRow
row = dataGridView.Rows[0];
1106
DataGridViewRow
row = dataGridView.Rows[0];
System\Windows\Forms\AccessibleObjects\DataGridViewCheckBoxCellAccessibleObjectTests.cs (2)
115
using
DataGridViewRow
row = new();
255
using
DataGridViewRow
row = new();
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (11)
33
public void DataGridViewRowAccessibleObject_Ctor_DataGridViewRow(
DataGridViewRow
owner)
169
using
DataGridViewRow
owner = new();
180
using
DataGridViewRow
owner = new();
261
using
DataGridViewRow
owner = new();
286
using
DataGridViewRow
owner = new();
302
using
DataGridViewRow
owner = new();
310
using
DataGridViewRow
owner = new();
361
using
DataGridViewRow
owner = new();
377
using
DataGridViewRow
owner = new();
393
using
DataGridViewRow
dataGridViewRow = new();
401
using
DataGridViewRow
dataGridViewRow = new();
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (8)
58
DataGridViewRow
row = control.Rows[0];
142
DataGridViewRow
row = control.Rows[0];
167
DataGridViewRow
row = control.Rows[0];
184
DataGridViewRow
row = control.Rows[0];
202
DataGridViewRow
row = control.Rows[0];
221
DataGridViewRow
row = control.Rows[0];
237
DataGridViewRow
row = control.Rows[0];
252
DataGridViewRow
row = control.Rows[0];
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (18)
16
Type type = typeof(
DataGridViewRow
)
27
Type type = typeof(
DataGridViewRow
)
37
Type type = typeof(
DataGridViewRow
)
47
Type type = typeof(
DataGridViewRow
)
60
DataGridViewRow
row = control.Rows[0];
61
Type type = typeof(
DataGridViewRow
)
72
Type type = typeof(
DataGridViewRow
)
89
Type type = typeof(
DataGridViewRow
)
107
Type type = typeof(
DataGridViewRow
)
125
DataGridViewRow
row = control.Rows[0];
132
Type type = typeof(
DataGridViewRow
)
148
DataGridViewRow
row = control.Rows[0];
153
Type type = typeof(
DataGridViewRow
)
170
Type type = typeof(
DataGridViewRow
)
187
DataGridViewRow
row = control.Rows[0];
192
Type type = typeof(
DataGridViewRow
)
209
DataGridViewRow
row = control.Rows[0];
212
Type type = typeof(
DataGridViewRow
)
System\Windows\Forms\DataGridViewButtonColumnTests.cs (2)
45
using
DataGridViewRow
row = new();
88
using
DataGridViewRow
row = new();
System\Windows\Forms\DataGridViewCellTests.ClipboardTests.cs (1)
34
using
DataGridViewRow
row = new();
System\Windows\Forms\DataGridViewCellTests.cs (71)
65
using
DataGridViewRow
row = new();
118
using
DataGridViewRow
row = new()
247
using
DataGridViewRow
row = new();
395
using
DataGridViewRow
row = new()
442
DataGridViewRow
row = control.Rows[0];
484
DataGridViewRow
row = control.Rows.SharedRow(0);
509
DataGridViewRow
row = control.Rows[0];
554
DataGridViewRow
row = control.Rows.SharedRow(0);
620
using
DataGridViewRow
row = new();
704
using
DataGridViewRow
row = new();
736
using
DataGridViewRow
row = new();
937
using
DataGridViewRow
row = new();
953
using
DataGridViewRow
row = new();
1268
using
DataGridViewRow
row = new();
1346
using
DataGridViewRow
row = new()
1382
DataGridViewRow
row = control.Rows[0];
1401
DataGridViewRow
row = control.Rows.SharedRow(0);
1411
using
DataGridViewRow
row = new();
1423
using
DataGridViewRow
row = new()
1486
DataGridViewRow
row = control.Rows[0];
1518
using
DataGridViewRow
row = new();
1536
using
DataGridViewRow
row = new();
1597
using
DataGridViewRow
row = new()
1627
DataGridViewRow
row = control.Rows[0];
1652
DataGridViewRow
row = control.Rows.SharedRow(0);
1673
using
DataGridViewRow
row = new();
1702
using
DataGridViewRow
row = new()
1734
using
DataGridViewRow
row = new()
1788
DataGridViewRow
row = control.Rows[0];
1833
DataGridViewRow
row = control.Rows[0];
1884
DataGridViewRow
row = control.Rows[0];
1993
using
DataGridViewRow
row = new()
2021
DataGridViewRow
row = control.Rows[0];
2040
DataGridViewRow
row = control.Rows.SharedRow(0);
2064
using
DataGridViewRow
row = new();
2084
DataGridViewRow
row = control.Rows[0];
2103
DataGridViewRow
row = control.Rows.SharedRow(0);
2124
using
DataGridViewRow
row = new();
2291
using
DataGridViewRow
row = new();
2313
using
DataGridViewRow
row = new();
2533
using
DataGridViewRow
row = new();
2611
using
DataGridViewRow
row = new();
2627
using
DataGridViewRow
row = new();
2774
using
DataGridViewRow
row = new();
2849
using
DataGridViewRow
row = new();
2867
using
DataGridViewRow
row = new();
2999
using
DataGridViewRow
row = new()
3039
DataGridViewRow
row = control.Rows[0];
3059
DataGridViewRow
row = control.Rows.SharedRow(0);
3224
using
DataGridViewRow
row = new()
3257
DataGridViewRow
row = control.Rows[0];
3278
DataGridViewRow
row = control.Rows[0];
3590
using
DataGridViewRow
row = new();
3716
using
DataGridViewRow
row = new();
3867
using
DataGridViewRow
row = new();
4158
using
DataGridViewRow
row = new();
4212
using
DataGridViewRow
row = new()
4225
using
DataGridViewRow
row = new()
4426
using
DataGridViewRow
row = new();
4438
using
DataGridViewRow
row = new()
4503
DataGridViewRow
row = control.Rows[0];
4577
DataGridViewRow
row = control.Rows[0];
4610
DataGridViewRow
row = control.Rows[0];
4646
using
DataGridViewRow
row = new();
4714
using
DataGridViewRow
row = new();
4853
using
DataGridViewRow
row = new();
4873
DataGridViewRow
row = control.Rows[0];
4971
using
DataGridViewRow
row = new();
4985
using
DataGridViewRow
row = new();
6268
using
DataGridViewRow
row = new();
6396
using
DataGridViewRow
row = new();
System\Windows\Forms\DataGridViewColumnTests.cs (1)
1001
using
DataGridViewRow
column = new();
System\Windows\Forms\DataGridViewElementTests.cs (1)
372
type == typeof(
DataGridViewRow
) || type == typeof(DataGridViewCell) || type == typeof(DataGridViewButtonCell) ||
System\Windows\Forms\DataGridViewHeaderCellTests.cs (81)
57
using
DataGridViewRow
row = new()
70
using
DataGridViewRow
row = new()
130
DataGridViewRow
row = control.Rows[0];
178
DataGridViewRow
row = control.Rows[0];
251
DataGridViewRow
row = control.Rows.SharedRow(0);
284
DataGridViewRow
row = control.Rows[0];
354
DataGridViewRow
row = control.Rows[0];
419
DataGridViewRow
row = control.Rows.SharedRow(0);
466
using
DataGridViewRow
row = new()
502
DataGridViewRow
row = control.Rows[0];
539
DataGridViewRow
row = control.Rows.SharedRow(0);
564
using
DataGridViewRow
row = new()
577
using
DataGridViewRow
row = new()
627
DataGridViewRow
row = control.Rows[0];
649
DataGridViewRow
row = control.Rows[0];
672
DataGridViewRow
row = control.Rows[0];
712
DataGridViewRow
row = control.Rows.SharedRow(0);
731
using
DataGridViewRow
row = new();
743
using
DataGridViewRow
row = new();
789
DataGridViewRow
row = control.Rows[0];
867
using
DataGridViewRow
row = new()
882
using
DataGridViewRow
row = new()
938
DataGridViewRow
row = control.Rows[0];
962
DataGridViewRow
row = control.Rows[0];
1004
DataGridViewRow
row = control.Rows[0];
1058
DataGridViewRow
row = control.Rows.SharedRow(0);
1082
using
DataGridViewRow
row = new();
1091
using
DataGridViewRow
row = new();
1120
DataGridViewRow
row = control.Rows[0];
1142
DataGridViewRow
row = control.Rows[0];
1165
DataGridViewRow
row = control.Rows[0];
1197
DataGridViewRow
row = control.Rows.SharedRow(0);
1216
using
DataGridViewRow
row = new();
1228
using
DataGridViewRow
row = new();
1277
DataGridViewRow
row = control.Rows[0];
1341
using
DataGridViewRow
row = new();
1350
using
DataGridViewRow
row = new();
1398
DataGridViewRow
row = control.Rows[0];
1480
using
DataGridViewRow
row = new();
1500
using
DataGridViewRow
row = new();
1528
using
DataGridViewRow
row = new();
1546
using
DataGridViewRow
row = new();
1670
DataGridViewRow
row = control.Rows[0];
1699
DataGridViewRow
row = control.Rows[0];
1842
using
DataGridViewRow
row = new()
1855
using
DataGridViewRow
row = new()
1910
DataGridViewRow
row = control.Rows[0];
1935
DataGridViewRow
row = control.Rows[0];
1961
DataGridViewRow
row = control.Rows[0];
2009
DataGridViewRow
row = control.Rows.SharedRow(0);
2227
using
DataGridViewRow
row = new()
2240
using
DataGridViewRow
row = new()
2451
using
DataGridViewRow
row = new();
2463
using
DataGridViewRow
row = new()
2555
DataGridViewRow
row = control.Rows[0];
2578
DataGridViewRow
row = control.Rows[0];
2597
DataGridViewRow
row = control.Rows[0];
2665
DataGridViewRow
row = control.Rows[0];
2774
DataGridViewRow
row = control.Rows[0];
2807
DataGridViewRow
row = control.Rows[0];
2837
DataGridViewRow
row = control.Rows[0];
2925
DataGridViewRow
row = control.Rows[0];
3013
using
DataGridViewRow
row = new();
3024
using
DataGridViewRow
row = new();
3072
DataGridViewRow
row = control.Rows[0];
3127
using
DataGridViewRow
row = new();
3136
using
DataGridViewRow
row = new();
3145
using
DataGridViewRow
row = new();
3175
DataGridViewRow
row = control.Rows[0];
3198
DataGridViewRow
row = control.Rows[0];
3222
DataGridViewRow
row = control.Rows[0];
3282
using
DataGridViewRow
row = new();
3294
using
DataGridViewRow
row = new();
3367
using
DataGridViewRow
row = new();
3377
using
DataGridViewRow
row = new();
3393
using
DataGridViewRow
row = new();
3407
using
DataGridViewRow
row = new();
3481
DataGridViewRow
row = control.Rows[0];
3498
DataGridViewRow
row = control.Rows[0];
3724
using
DataGridViewRow
row = new();
4635
using
DataGridViewRow
row = new();
System\Windows\Forms\DataGridViewImageColumnTests.cs (7)
50
foreach (
DataGridViewRow
row in dataGridView.Rows)
60
foreach (
DataGridViewRow
row in dataGridView.Rows)
80
foreach (
DataGridViewRow
row in dataGridView.Rows)
147
foreach (
DataGridViewRow
row in dataGridView.Rows)
182
foreach (
DataGridViewRow
row in dataGridView.Rows)
194
foreach (
DataGridViewRow
row in dataGridView.Rows)
217
foreach (
DataGridViewRow
row in dataGridView.Rows)
System\Windows\Forms\DataGridViewLinkColumnTests.cs (6)
57
foreach (
DataGridViewRow
row in _dataGridView.Rows)
111
foreach (
DataGridViewRow
row in _dataGridView.Rows)
149
foreach (
DataGridViewRow
row in _dataGridView.Rows)
210
foreach (
DataGridViewRow
row in _dataGridView.Rows)
248
foreach (
DataGridViewRow
row in _dataGridView.Rows)
286
foreach (
DataGridViewRow
row in _dataGridView.Rows)
System\Windows\Forms\DataGridViewRowCancelEventArgsTests.cs (2)
15
DataGridViewRow
dataGridViewRow = new();
21
public void Ctor_DataGridViewRow(
DataGridViewRow
dataGridViewRow)
System\Windows\Forms\DataGridViewRowConverterTests.cs (2)
17
using
DataGridViewRow
row = new();
26
using
DataGridViewRow
row = new();
System\Windows\Forms\DataGridViewRowErrorTextNeededEventArgsTests.cs (1)
19
DataGridViewRow
row = dataGridView.Rows[0];
System\Windows\Forms\DataGridViewRowEventArgsTests.cs (1)
14
using
DataGridViewRow
dataGridViewRow = new();
System\Windows\Forms\DataGridViewRowHeightInfoNeededEventArgsTests.cs (4)
22
DataGridViewRow
row = dataGridView.Rows[0];
46
DataGridViewRow
row = dataGridView.Rows[0];
74
DataGridViewRow
row = dataGridView.Rows[0];
102
DataGridViewRow
row = dataGridView.Rows[0];
System\Windows\Forms\DataGridViewRowStateChangedEventArgsTests.cs (1)
19
public void Ctor_DataGridViewRow_DataGridViewElementStates(
DataGridViewRow
dataGridViewRow, DataGridViewElementStates stateChanged)
System\Windows\Forms\DataGridViewRowTests.cs (185)
60
DataGridViewRow
row = control.Rows[0];
76
DataGridViewRow
row = control.Rows[0];
113
DataGridViewRow
row = control.Rows[0];
144
DataGridViewRow
row = control.Rows.SharedRow(0);
158
using
DataGridViewRow
row = new()
174
using
DataGridViewRow
row = new()
196
DataGridViewRow
row = control.Rows[0];
217
DataGridViewRow
row = control.Rows.SharedRow(0);
233
using
DataGridViewRow
row = new()
248
using
DataGridViewRow
row = new()
269
DataGridViewRow
row = control.Rows[0];
316
DataGridViewRow
row = control.Rows[0];
331
DataGridViewRow
row = control.Rows[0];
343
DataGridViewRow
row = control.Rows.SharedRow(0);
358
DataGridViewRow
row = control.Rows.SharedRow(0);
370
DataGridViewRow
row = control.Rows[0];
383
DataGridViewRow
row = control.Rows.SharedRow(0);
402
using
DataGridViewRow
row = new()
423
using
DataGridViewRow
row = new()
447
DataGridViewRow
row = control.Rows[0];
474
DataGridViewRow
row = control.Rows[0];
497
DataGridViewRow
row = control.Rows[0];
569
DataGridViewRow
row = control.Rows.SharedRow(0);
581
DataGridViewRow
row = control.Rows[0];
593
DataGridViewRow
row = control.Rows.SharedRow(0);
608
using
DataGridViewRow
row = new()
646
DataGridViewRow
row = control.Rows[0];
667
DataGridViewRow
row = control.Rows[0];
687
DataGridViewRow
row = control.Rows.SharedRow(0);
708
DataGridViewRow
row = control.Rows.SharedRow(0);
723
using
DataGridViewRow
row = new();
731
using
DataGridViewRow
row = new()
746
DataGridViewRow
row = control.Rows[0];
758
DataGridViewRow
row = control.Rows.SharedRow(0);
770
DataGridViewRow
row = control.Rows[0];
782
DataGridViewRow
row = control.Rows.SharedRow(0);
797
using
DataGridViewRow
row = new()
817
DataGridViewRow
row = control.Rows[0];
837
DataGridViewRow
row = control.Rows[0];
875
using
DataGridViewRow
row = new();
887
DataGridViewRow
row = control.Rows.SharedRow(0);
899
DataGridViewRow
row = control.Rows[0];
912
DataGridViewRow
row = control.Rows[0];
947
DataGridViewRow
row = control.Rows[0];
977
DataGridViewRow
row = control.Rows.SharedRow(0);
985
using
DataGridViewRow
row = new()
1000
using
DataGridViewRow
row = new()
1022
DataGridViewRow
row = control.Rows[0];
1043
DataGridViewRow
row = control.Rows[0];
1064
DataGridViewRow
row = control.Rows[0];
1110
DataGridViewRow
row = control.Rows.SharedRow(0);
1169
using
DataGridViewRow
row = new()
1197
DataGridViewRow
row = control.Rows[0];
1227
DataGridViewRow
row = control.Rows[0];
1275
DataGridViewRow
row1 = control.Rows[0];
1276
DataGridViewRow
row2 = control.Rows[1];
1278
DataGridViewRow
row3 = control.Rows[2];
1279
DataGridViewRow
row4 = control.Rows[3];
1325
DataGridViewRow
row = control.Rows[0];
1477
using
DataGridViewRow
row = new()
1511
using
DataGridViewRow
row = new()
1546
using
DataGridViewRow
otherRow = new()
1550
using
DataGridViewRow
row = new()
1574
DataGridViewRow
row = control.Rows[0];
1611
DataGridViewRow
row = control.Rows[0];
1651
DataGridViewRow
row = control.Rows.SharedRow(0);
1688
DataGridViewRow
row = control.Rows.SharedRow(0);
1727
DataGridViewRow
row = control.Rows[0];
1793
DataGridViewRow
row = control.Rows[0];
1810
DataGridViewRow
row = control.Rows.SharedRow(0);
1841
DataGridViewRow
row = control.Rows[0];
1876
DataGridViewRow
row = control.Rows[0];
1913
using
DataGridViewRow
row = new()
1959
DataGridViewRow
row = control.Rows[0];
1979
DataGridViewRow
row = control.Rows[0];
2016
using
DataGridViewRow
row = new();
2052
DataGridViewRow
row = control.Rows.SharedRow(0);
2174
DataGridViewRow
row = control.Rows[index];
2186
using
DataGridViewRow
row = new();
2198
DataGridViewRow
row = control.Rows.SharedRow(0);
2210
DataGridViewRow
row = control.Rows[0];
2222
DataGridViewRow
row = control.Rows[0];
2234
DataGridViewRow
row = control.Rows.SharedRow(0);
2246
DataGridViewRow
row = control.Rows.SharedRow(0);
2262
DataGridViewRow
row = control.Rows[0];
2279
DataGridViewRow
row = control.Rows.SharedRow(0);
2310
DataGridViewRow
row = control.Rows[0];
2345
DataGridViewRow
row = control.Rows[0];
2380
using
DataGridViewRow
row = new()
2424
DataGridViewRow
row = control.Rows[0];
2446
DataGridViewRow
row = control.Rows[0];
2486
using
DataGridViewRow
row = new();
2500
DataGridViewRow
row = control.Rows.SharedRow(0);
2528
DataGridViewRow
row = control.Rows[0];
2542
DataGridViewRow
row = control.Rows.SharedRow(0);
2550
using
DataGridViewRow
row = new()
2581
DataGridViewRow
row = control.Rows[0];
2607
DataGridViewRow
row = control.Rows[0];
2619
using
DataGridViewRow
row = new();
2653
DataGridViewRow
row = control.Rows[0];
2683
DataGridViewRow
row = control.Rows[0];
2724
DataGridViewRow
row = control.Rows.SharedRow(0);
2739
DataGridViewRow
row = control.Rows[0];
2753
DataGridViewRow
row = control.Rows.SharedRow(0);
2765
DataGridViewRow
row = control.Rows.SharedRow(0);
2773
using
DataGridViewRow
row = new()
2788
using
DataGridViewRow
row = new()
2821
DataGridViewRow
row = control.Rows[0];
2841
DataGridViewRow
row = control.Rows[0];
2884
DataGridViewRow
row = control.Rows[0];
2901
using
DataGridViewRow
row = new();
2913
DataGridViewRow
row = control.Rows[0];
2925
DataGridViewRow
row = control.Rows.SharedRow(0);
2932
using
DataGridViewRow
row = new();
2955
DataGridViewRow
row = control.Rows[0];
2983
DataGridViewRow
row1 = control.Rows[0];
2984
DataGridViewRow
row2 = control.Rows[1];
3017
DataGridViewRow
row1 = control.Rows[0];
3018
DataGridViewRow
row2 = control.Rows[1];
3026
Assert.Equal(new
DataGridViewRow
[] { row2, row1 }, control.SelectedRows.Cast<
DataGridViewRow
>());
3050
DataGridViewRow
row = control.Rows.SharedRow(0);
3062
DataGridViewRow
row = control.Rows[0];
3074
DataGridViewRow
row = control.Rows.SharedRow(0);
3086
DataGridViewRow
row = control.Rows[0];
3098
DataGridViewRow
row = control.Rows.SharedRow(0);
3106
using
DataGridViewRow
row = new()
3121
using
DataGridViewRow
row = new()
3143
DataGridViewRow
row = control.Rows[0];
3164
DataGridViewRow
row = control.Rows[0];
3186
DataGridViewRow
row = control.Rows.SharedRow(0);
3207
DataGridViewRow
row = control.Rows.SharedRow(0);
3228
DataGridViewRow
row = control.Rows[0];
3240
DataGridViewRow
row = control.Rows.SharedRow(0);
3257
using
DataGridViewRow
row = new()
3285
DataGridViewRow
row = control.Rows[0];
3313
DataGridViewRow
row = control.Rows[0];
3354
DataGridViewRow
row = control.Rows[0];
3371
DataGridViewRow
row = control.Rows.SharedRow(0);
3726
DataGridViewRow
row = control.Rows[0];
3885
using
DataGridViewRow
row = new();
3904
using
DataGridViewRow
source = new();
3905
using
DataGridViewRow
row = Assert.IsType<
DataGridViewRow
>(source.Clone());
3928
using
DataGridViewRow
source = new()
3942
using
DataGridViewRow
row = Assert.IsType<
DataGridViewRow
>(source.Clone());
4019
DataGridViewRow
source = control.Rows[0];
4034
using
DataGridViewRow
row = Assert.IsType<
DataGridViewRow
>(source.Clone());
4058
using
DataGridViewRow
row = new();
4072
using
DataGridViewRow
row = new();
4085
using
DataGridViewRow
row = new();
4102
using
DataGridViewRow
row = new();
4112
using
DataGridViewRow
row = new();
4126
DataGridViewRow
row = control.Rows[0];
4137
using
DataGridViewRow
row = new();
4145
using
DataGridViewRow
row = new();
4160
using
DataGridViewRow
row = new();
4172
using
DataGridViewRow
row = new()
4256
using
DataGridViewRow
row = new();
4275
DataGridViewRow
row1 = control.Rows[0];
4278
DataGridViewRow
row2 = control.Rows[1];
4300
DataGridViewRow
row = control.Rows[0];
4337
DataGridViewRow
row = control.Rows[0];
4370
DataGridViewRow
row = control.Rows[0];
4382
DataGridViewRow
row = control.Rows[0];
4392
using
DataGridViewRow
row = new();
4408
DataGridViewRow
row1 = control.Rows[0];
4410
DataGridViewRow
row2 = control.Rows[1];
4428
DataGridViewRow
row = control.Rows[0];
4462
DataGridViewRow
row = control.Rows[0];
4494
DataGridViewRow
row = control.Rows[0];
4506
DataGridViewRow
row = control.Rows[0];
4513
using
DataGridViewRow
row = new();
4525
DataGridViewRow
row = control.Rows[0];
4539
DataGridViewRow
row = control.Rows.SharedRow(0);
4550
using
DataGridViewRow
row = new();
4564
DataGridViewRow
row = control.Rows[0];
5686
using
DataGridViewRow
row = new();
5704
DataGridViewRow
row = control.Rows[0];
5712
using
DataGridViewRow
row = new();
5726
using
DataGridViewRow
row = new();
5739
DataGridViewRow
row = control.Rows[0];
5751
DataGridViewRow
row = control.Rows.SharedRow(0);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (2)
124
public void DataGridViewSelectedRowCollection_Contains_InvokeEmpty_ReturnsFalse(
DataGridViewRow
dataGridViewRow)
170
public void DataGridViewSelectedRowCollection_Insert_Invoke_ThrowsNotSupportedException(int index,
DataGridViewRow
dataGridRow)
System\Windows\Forms\DataGridViewTextBoxColumnTests.cs (2)
68
foreach (
DataGridViewRow
row in _dataGridView.Rows)
82
foreach (
DataGridViewRow
row in _dataGridView.Rows)
WinFormsControlsTest (1)
DataGridViewTest.cs (1)
33
foreach (
DataGridViewRow
row in dataGridView1.Rows)