45 references to SelectedRows
PresentationUI (4)
MS\Internal\Documents\RMPublishingDialog.cs (2)
569
if (rightsTable.
SelectedRows
.Count == 1)
572
DataGridViewRow row = rightsTable.
SelectedRows
[0];
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
174
if (this.
SelectedRows
.Count == 1)
176
DataGridViewRow row = this.
SelectedRows
[0];
System.Windows.Forms.Tests (41)
System\Windows\Forms\DataGridViewRowTests.cs (11)
2957
Assert.Equal(selected, (control.
SelectedRows
).Contains(row));
2962
Assert.Equal(selected, (control.
SelectedRows
).Contains(row));
2967
Assert.False((control.
SelectedRows
).Contains(row));
2985
Assert.Same(row1, Assert.Single(control.
SelectedRows
));
2990
Assert.Same(row2, Assert.Single(control.
SelectedRows
));
2995
Assert.Empty(control.
SelectedRows
);
3000
Assert.Empty(control.
SelectedRows
);
3019
Assert.Same(row1, Assert.Single(control.
SelectedRows
));
3024
Assert.Equal(new DataGridViewRow[] { row2, row1 }, control.
SelectedRows
.Cast<DataGridViewRow>());
3029
Assert.Same(row2, Assert.Single(control.
SelectedRows
));
3034
Assert.Empty(control.
SelectedRows
);
System\Windows\Forms\DataGridViewSelectedRowCollectionTests.cs (30)
14
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
33
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
52
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
64
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
82
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
90
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
106
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
125
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
133
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
151
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
171
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
179
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
200
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
221
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
234
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
253
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
270
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
287
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
296
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
305
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
324
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
343
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
360
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
373
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
400
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
433
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
450
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
474
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
491
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;
503
DataGridViewSelectedRowCollection collection = control.
SelectedRows
;