6 writes to MultiSelect
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
237
this.rightsTable.
MultiSelect
= false;
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
75
control.
MultiSelect
= isMultiSelect;
System\Windows\Forms\DataGridViewRowTests.cs (2)
2979
MultiSelect
= false
3013
MultiSelect
= true
System\Windows\Forms\DataGridViewTests.cs (2)
3289
_dataGridView.
MultiSelect
= false;
3293
_dataGridView.
MultiSelect
= true;
122 references to MultiSelect
System.Windows.Forms (122)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2999
if (
MultiSelect
!= value)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (119)
12130
&& (!isShiftDown || !
MultiSelect
))
12137
if ((!
MultiSelect
|| !isControlDown) && !(
MultiSelect
&& isShiftDown))
12139
Debug.Assert(
MultiSelect
|| _individualSelectedCells.Count <= 1);
12143
if (
MultiSelect
)
12204
if (
MultiSelect
&& isShiftDown && _ptAnchorCell.X > -1 && Columns[_ptAnchorCell.X].Selected)
12209
if (!
MultiSelect
|| !isControlDown || isShiftDown)
12211
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
12244
if (
MultiSelect
&& _dataGridViewOper[OperationTrackMouseMoves])
12285
&& (!isShiftDown || !
MultiSelect
))
12292
if (!
MultiSelect
)
12365
if (!
MultiSelect
)
12405
if (
MultiSelect
12412
if (!
MultiSelect
|| !isControlDown || isShiftDown)
12414
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
12447
if (
MultiSelect
&& _dataGridViewOper[OperationTrackMouseMoves])
12491
&& (!isShiftDown || !
MultiSelect
))
12498
if (!
MultiSelect
)
12571
if (!
MultiSelect
)
12761
Debug.Assert(
MultiSelect
);
13766
if (
MultiSelect
&& isShiftDown && _ptAnchorCell.X > -1 && Columns[_ptAnchorCell.X].Selected)
13771
if (!
MultiSelect
|| !isControlDown || isShiftDown)
13773
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
13815
if (
MultiSelect
&& _dataGridViewOper[OperationTrackMouseMoves])
14124
Debug.Assert(
MultiSelect
);
18045
if (
MultiSelect
18053
if (!
MultiSelect
|| !isControlDown || isShiftDown)
18055
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
18097
if (
MultiSelect
&& _dataGridViewOper[OperationTrackMouseMoves])
18400
Debug.Assert(
MultiSelect
);
18976
if (
MultiSelect
)
19915
if ((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == Keys.Control &&
MultiSelect
)
20199
if (
MultiSelect
)
20335
if (
MultiSelect
)
20359
success = SetCurrentCellAddressCore(_ptCurrentCell.X, nextVisibleRowIndex, !
MultiSelect
, false, false);
20448
if (
MultiSelect
)
20578
if (
MultiSelect
)
20600
success = SetCurrentCellAddressCore(_ptCurrentCell.X, nextVisibleRowIndex, !
MultiSelect
, false, false);
20684
if (
MultiSelect
)
20850
if (
MultiSelect
)
20874
if (
MultiSelect
)
20899
success = SetCurrentCellAddressCore(_ptCurrentCell.X, nextVisibleRowIndex, !
MultiSelect
, false, false);
21103
if (
MultiSelect
&& _ptAnchorCell.X >= 0)
21121
SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !
MultiSelect
, false, false);
21152
if (
MultiSelect
&& _ptAnchorCell.X >= 0)
21188
SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !
MultiSelect
, false, false);
21230
if (
MultiSelect
&& _ptCurrentCell.X >= 0)
21239
SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !
MultiSelect
, false, false);
21272
if (
MultiSelect
)
21286
if (
MultiSelect
&& _ptCurrentCell.X >= 0)
21310
SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !
MultiSelect
, false, false);
21361
if (
MultiSelect
&& _ptCurrentCell.Y >= 0)
21375
SetCurrentCellAddressCore(lastVisibleColumnIndex, lastVisibleRowIndex, !
MultiSelect
, false, false);
21577
if (
MultiSelect
&& _ptAnchorCell.X >= 0)
21595
SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !
MultiSelect
, false, false);
21626
if (
MultiSelect
&& _ptAnchorCell.X >= 0)
21662
SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !
MultiSelect
, false, false);
21704
if (
MultiSelect
&& _ptCurrentCell.X >= 0)
21718
SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !
MultiSelect
, false, false);
21751
if (
MultiSelect
)
21765
if (
MultiSelect
&& _ptCurrentCell.X >= 0)
21789
SetCurrentCellAddressCore(firstVisibleColumnIndex, firstVisibleRowIndex, !
MultiSelect
, false, false);
22137
if (
MultiSelect
)
22161
success = SetCurrentCellAddressCore(previousVisibleColumnIndex, _ptCurrentCell.Y, !
MultiSelect
, false, false);
22249
if (
MultiSelect
)
22270
success = SetCurrentCellAddressCore(previousVisibleColumnIndex, _ptCurrentCell.Y, !
MultiSelect
, false, false);
22360
if (
MultiSelect
)
22381
if (
MultiSelect
)
22405
success = SetCurrentCellAddressCore(previousVisibleColumnIndex, _ptCurrentCell.Y, !
MultiSelect
, false, false);
22546
if (
MultiSelect
)
22671
if (
MultiSelect
)
22764
if (
MultiSelect
)
23028
if ((keyData & Keys.Shift) == Keys.Shift &&
MultiSelect
)
23068
if ((keyData & Keys.Shift) == Keys.Shift &&
MultiSelect
)
23104
if ((keyData & Keys.Shift) == Keys.Shift &&
MultiSelect
)
23151
success = SetCurrentCellAddressCore(_ptCurrentCell.X, nextScreenVisibleRowIndex, !
MultiSelect
, false, false);
23287
if ((keyData & Keys.Shift) == Keys.Shift &&
MultiSelect
)
23326
if ((keyData & Keys.Shift) == Keys.Shift &&
MultiSelect
)
23362
if ((keyData & Keys.Shift) == Keys.Shift &&
MultiSelect
)
23409
SetCurrentCellAddressCore(_ptCurrentCell.X, previousScreenVisibleRowIndex, !
MultiSelect
, false, false);
23516
if (
MultiSelect
)
23539
success = SetCurrentCellAddressCore(nextVisibleColumnIndex, _ptCurrentCell.Y, !
MultiSelect
, false, false);
23627
if (
MultiSelect
)
23648
success = SetCurrentCellAddressCore(nextVisibleColumnIndex, _ptCurrentCell.Y, !
MultiSelect
, false, false);
23738
if (
MultiSelect
)
23761
if (
MultiSelect
)
23785
success = SetCurrentCellAddressCore(nextVisibleColumnIndex, _ptCurrentCell.Y, !
MultiSelect
, false, false);
23936
if (
MultiSelect
)
24031
if (
MultiSelect
)
24119
if (
MultiSelect
)
24271
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
24298
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
24569
if (
MultiSelect
)
24676
if (
MultiSelect
)
24700
SetCurrentCellAddressCore(_ptCurrentCell.X, previousVisibleRowIndex, !
MultiSelect
, false, false);
24767
if (
MultiSelect
)
24868
if (
MultiSelect
)
24889
SetCurrentCellAddressCore(_ptCurrentCell.X, previousVisibleRowIndex, !
MultiSelect
, false, false);
24951
if (
MultiSelect
)
25088
if (
MultiSelect
)
25109
if (
MultiSelect
)
25133
SetCurrentCellAddressCore(_ptCurrentCell.X, previousVisibleRowIndex, !
MultiSelect
, false, false);
26537
if (!
MultiSelect
)
27403
if (
MultiSelect
&& (_individualSelectedCells.Count + _selectedBandIndexes.Count) > 1)
27730
if (selected && !
MultiSelect
)
27755
if (selected && !
MultiSelect
)
27769
if (!
MultiSelect
)
27807
if (!
MultiSelect
)
27824
if (!
MultiSelect
)
27849
if (!
MultiSelect
)
27891
if (!
MultiSelect
)
27908
if (!
MultiSelect
)
27935
if (selected && !
MultiSelect
)
27978
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
27988
if (!
MultiSelect
)
28098
Debug.Assert(
MultiSelect
|| _selectedBandIndexes.Count <= 1);
28108
if (!
MultiSelect
)
28603
if (targetRowIndex != _ptCurrentCell.Y ||
MultiSelect
)
28772
if (targetRowIndex != _ptCurrentCell.Y ||
MultiSelect
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (2)
46
if (Owner.DataGridView?.
MultiSelect
?? false)
230
if (Owner.DataGridView.
MultiSelect
)