122 references to MultiSelect
System.Windows.Forms (122)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3791
if (this.
MultiSelect
!= value)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (119)
12502
(!isShiftDown || !this.
MultiSelect
))
12508
if ((!this.
MultiSelect
|| !isControlDown) && !(this.
MultiSelect
&& isShiftDown))
12510
Debug.Assert(this.
MultiSelect
|| this.individualSelectedCells.Count <= 1);
12513
if (this.
MultiSelect
)
12560
if (this.
MultiSelect
&&
12567
if (!this.
MultiSelect
|| !isControlDown || isShiftDown)
12569
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
12600
if (this.
MultiSelect
&& this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves])
12634
(!isShiftDown || !this.
MultiSelect
))
12640
if (!this.
MultiSelect
)
12703
if (!this.
MultiSelect
)
12737
if (this.
MultiSelect
&&
12744
if (!this.
MultiSelect
|| !isControlDown || isShiftDown)
12746
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
12777
if (this.
MultiSelect
&& this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves])
12814
(!isShiftDown || !this.
MultiSelect
))
12820
if (!this.
MultiSelect
)
12883
if (!this.
MultiSelect
)
13133
Debug.Assert(this.
MultiSelect
);
14234
if (this.
MultiSelect
&&
14241
if (!this.
MultiSelect
|| !isControlDown || isShiftDown)
14243
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
14282
if (this.
MultiSelect
&& this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves])
14597
Debug.Assert(this.
MultiSelect
);
18514
if (this.
MultiSelect
&&
18521
if (!this.
MultiSelect
|| !isControlDown || isShiftDown)
18523
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
18563
if (this.
MultiSelect
&& this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves])
18939
Debug.Assert(this.
MultiSelect
);
19531
if (this.
MultiSelect
)
20448
this.
MultiSelect
)
20757
if (this.
MultiSelect
)
20881
if (this.
MultiSelect
)
20899
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, nextVisibleRowIndex, !this.
MultiSelect
, false, false);
20981
if (this.
MultiSelect
)
21101
if (this.
MultiSelect
)
21121
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, nextVisibleRowIndex, !this.
MultiSelect
, false, false);
21199
if (this.
MultiSelect
)
21349
if (this.
MultiSelect
)
21372
if (this.
MultiSelect
)
21391
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, nextVisibleRowIndex, !this.
MultiSelect
, false, false);
21582
if (this.
MultiSelect
&& this.ptAnchorCell.X >= 0)
21594
success = SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !this.
MultiSelect
, false, false);
21626
if (this.
MultiSelect
&& this.ptAnchorCell.X >= 0)
21656
success = SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !this.
MultiSelect
, false, false);
21695
if (this.
MultiSelect
&& this.ptCurrentCell.X >= 0)
21703
success = SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !this.
MultiSelect
, false, false);
21734
if (this.
MultiSelect
)
21746
if (this.
MultiSelect
&& this.ptCurrentCell.X >= 0)
21763
success = SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !this.
MultiSelect
, false, false);
21810
if (this.
MultiSelect
&& this.ptCurrentCell.Y >= 0)
21823
success = SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !this.
MultiSelect
, false, false);
22036
if (this.
MultiSelect
&& this.ptAnchorCell.X >= 0)
22048
success = SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !this.
MultiSelect
, false, false);
22080
if (this.
MultiSelect
&& this.ptAnchorCell.X >= 0)
22110
success = SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !this.
MultiSelect
, false, false);
22149
if (this.
MultiSelect
&& this.ptCurrentCell.X >= 0)
22161
success = SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !this.
MultiSelect
, false, false);
22192
if (this.
MultiSelect
)
22204
if (this.
MultiSelect
&& this.ptCurrentCell.X >= 0)
22221
success = SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !this.
MultiSelect
, false, false);
22568
if (this.
MultiSelect
)
22586
success = SetCurrentCellAddressCore(previousVisibleColumnIndex, this.ptCurrentCell.Y, !this.
MultiSelect
, false, false);
22665
if (this.
MultiSelect
)
22684
success = SetCurrentCellAddressCore(previousVisibleColumnIndex, this.ptCurrentCell.Y, !this.
MultiSelect
, false, false);
22765
if (this.
MultiSelect
)
22784
if (this.
MultiSelect
)
22802
success = SetCurrentCellAddressCore(previousVisibleColumnIndex, this.ptCurrentCell.Y, !this.
MultiSelect
, false, false);
22930
if (this.
MultiSelect
)
23020
if (this.
MultiSelect
)
23105
if (this.
MultiSelect
)
23349
if ((keyData & Keys.Shift) == Keys.Shift && this.
MultiSelect
)
23380
if ((keyData & Keys.Shift) == Keys.Shift && this.
MultiSelect
)
23413
if ((keyData & Keys.Shift) == Keys.Shift && this.
MultiSelect
)
23453
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, nextScreenVisibleRowIndex, !this.
MultiSelect
, false, false);
23588
if ((keyData & Keys.Shift) == Keys.Shift && this.
MultiSelect
)
23619
if ((keyData & Keys.Shift) == Keys.Shift && this.
MultiSelect
)
23652
if ((keyData & Keys.Shift) == Keys.Shift && this.
MultiSelect
)
23692
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, previousScreenVisibleRowIndex, !this.
MultiSelect
, false, false);
23807
if (this.
MultiSelect
)
23824
success = SetCurrentCellAddressCore(nextVisibleColumnIndex, this.ptCurrentCell.Y, !this.
MultiSelect
, false, false);
23903
if (this.
MultiSelect
)
23922
success = SetCurrentCellAddressCore(nextVisibleColumnIndex, this.ptCurrentCell.Y, !this.
MultiSelect
, false, false);
24003
if (this.
MultiSelect
)
24025
if (this.
MultiSelect
)
24043
success = SetCurrentCellAddressCore(nextVisibleColumnIndex, this.ptCurrentCell.Y, !this.
MultiSelect
, false, false);
24179
if (this.
MultiSelect
)
24261
if (this.
MultiSelect
)
24341
if (this.
MultiSelect
)
24481
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
24506
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
24785
if (this.
MultiSelect
)
24887
if (this.
MultiSelect
)
24905
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, previousVisibleRowIndex, !this.
MultiSelect
, false, false);
24967
if (this.
MultiSelect
)
25065
if (this.
MultiSelect
)
25084
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, previousVisibleRowIndex, !this.
MultiSelect
, false, false);
25146
if (this.
MultiSelect
)
25274
if (this.
MultiSelect
)
25293
if (this.
MultiSelect
)
25311
success = SetCurrentCellAddressCore(this.ptCurrentCell.X, previousVisibleRowIndex, !this.
MultiSelect
, false, false);
26639
if (!this.
MultiSelect
)
27427
if (this.
MultiSelect
&& (this.individualSelectedCells.Count + this.selectedBandIndexes.Count) > 1)
27747
if (selected && !this.
MultiSelect
)
27772
if (selected && !this.
MultiSelect
)
27785
if (!this.
MultiSelect
)
27821
if (!this.
MultiSelect
)
27837
if (!this.
MultiSelect
)
27861
if (!this.
MultiSelect
)
27901
if (!this.
MultiSelect
)
27917
if (!this.
MultiSelect
)
27943
if (selected && !this.
MultiSelect
)
27989
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
27999
if (!this.
MultiSelect
)
28105
Debug.Assert(this.
MultiSelect
|| this.selectedBandIndexes.Count <= 1);
28115
if (!this.
MultiSelect
)
28650
if (targetRowIndex != this.ptCurrentCell.Y || this.
MultiSelect
)
28816
if (targetRowIndex != this.ptCurrentCell.Y || this.
MultiSelect
)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (2)
490
if (this.Owner.DataGridView.
MultiSelect
)
660
if (this.Owner.DataGridView.
MultiSelect
)