選択されている行の削除
GcMultiRow gcMultiRow = this.gcMultiRow1; var query = from Row row in gcMultiRow.Rows where row.Selected && !row.IsNewRow orderby row.Index descending select row; foreach (var selectedRow in query) { gcMultiRow.Rows.RemoveAt(selectedRow.Index); } ******************* GcMultiRow gcMultiRow = this.gcMultiRow1; foreach (Row selectedRow in gcMultiRow.SelectedRows.OrderByDescending(row => row.Index)) { if (!selectedRow.IsNewRow) gcMultiRow.Rows.RemoveAt(selectedRow.Index); }