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