258 references to DataGridViewSelectionMode
System.Windows.Forms (257)
winforms\Managed\System\WinForms\DataGridView.cs (30)
278
private const
DataGridViewSelectionMode
defaultSelectionMode =
DataGridViewSelectionMode
.RowHeaderSelect;
307
private
DataGridViewSelectionMode
selectionMode;
4620
case
DataGridViewSelectionMode
.CellSelect:
4627
case
DataGridViewSelectionMode
.FullColumnSelect:
4628
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
4637
if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
4643
case
DataGridViewSelectionMode
.FullRowSelect:
4644
case
DataGridViewSelectionMode
.RowHeaderSelect:
4654
if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
4679
case
DataGridViewSelectionMode
.CellSelect:
4680
case
DataGridViewSelectionMode
.FullRowSelect:
4681
case
DataGridViewSelectionMode
.RowHeaderSelect:
4683
case
DataGridViewSelectionMode
.FullColumnSelect:
4684
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
4710
case
DataGridViewSelectionMode
.CellSelect:
4711
case
DataGridViewSelectionMode
.FullColumnSelect:
4712
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
4714
case
DataGridViewSelectionMode
.FullRowSelect:
4715
case
DataGridViewSelectionMode
.RowHeaderSelect:
4730
DefaultValue(
DataGridViewSelectionMode
.RowHeaderSelect),
4733
public
DataGridViewSelectionMode
SelectionMode
4742
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DataGridViewSelectionMode
.CellSelect, (int)
DataGridViewSelectionMode
.ColumnHeaderSelect))
4744
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DataGridViewSelectionMode
));
4750
(value ==
DataGridViewSelectionMode
.FullColumnSelect || value ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
6988
DataGridViewSelectionMode
selectionMode = this.SelectionMode;
6989
if (selectionMode ==
DataGridViewSelectionMode
.FullColumnSelect || selectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
winforms\Managed\System\WinForms\DataGridViewBand.cs (4)
698
if (this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect || this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
706
if (this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect || this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
winforms\Managed\System\WinForms\DataGridViewCellLinkedList.cs (3)
92
Debug.Assert(dataGridViewCell.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.CellSelect ||
93
dataGridViewCell.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect ||
94
dataGridViewCell.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect);
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
974
(this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
975
this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (11)
828
this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
829
this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
1193
return this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect &&
1291
else if (this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect||
1292
this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
1366
if (this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
1367
this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
1407
else if (dataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
1408
dataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
1540
(dataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
1541
dataGridView.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (195)
1385
case
DataGridViewSelectionMode
.CellSelect:
1415
case
DataGridViewSelectionMode
.FullColumnSelect:
1416
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
1448
case
DataGridViewSelectionMode
.FullRowSelect:
1449
case
DataGridViewSelectionMode
.RowHeaderSelect:
3450
case
DataGridViewSelectionMode
.CellSelect:
3457
case
DataGridViewSelectionMode
.FullRowSelect:
3458
case
DataGridViewSelectionMode
.RowHeaderSelect:
3467
this.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect &&
3475
case
DataGridViewSelectionMode
.FullColumnSelect:
3476
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
3503
case
DataGridViewSelectionMode
.CellSelect:
3504
case
DataGridViewSelectionMode
.FullColumnSelect:
3505
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
3514
case
DataGridViewSelectionMode
.FullRowSelect:
3515
case
DataGridViewSelectionMode
.RowHeaderSelect:
3527
case
DataGridViewSelectionMode
.CellSelect:
3528
case
DataGridViewSelectionMode
.FullRowSelect:
3529
case
DataGridViewSelectionMode
.RowHeaderSelect:
3538
case
DataGridViewSelectionMode
.FullColumnSelect:
3539
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
3565
case
DataGridViewSelectionMode
.CellSelect:
3573
case
DataGridViewSelectionMode
.FullRowSelect:
3574
case
DataGridViewSelectionMode
.RowHeaderSelect:
3589
if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
3596
case
DataGridViewSelectionMode
.FullColumnSelect:
3597
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
3612
if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
6928
case
DataGridViewSelectionMode
.CellSelect:
6934
case
DataGridViewSelectionMode
.FullColumnSelect:
6935
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
6939
case
DataGridViewSelectionMode
.FullRowSelect:
6940
case
DataGridViewSelectionMode
.RowHeaderSelect:
6962
case
DataGridViewSelectionMode
.CellSelect:
6968
case
DataGridViewSelectionMode
.FullColumnSelect:
6969
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
6985
case
DataGridViewSelectionMode
.FullRowSelect:
6986
case
DataGridViewSelectionMode
.RowHeaderSelect:
7234
case
DataGridViewSelectionMode
.FullRowSelect:
7496
case
DataGridViewSelectionMode
.FullColumnSelect:
7768
case
DataGridViewSelectionMode
.CellSelect:
7769
case
DataGridViewSelectionMode
.RowHeaderSelect:
7770
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
7774
if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
7779
else if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
7801
if (this.SelectionMode ==
DataGridViewSelectionMode
.CellSelect)
7903
if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
7927
else if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
10282
(this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect ||
10283
this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect) &&
10903
(this.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
10904
this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
11026
(this.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
11027
this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
12364
(this.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
12365
this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
12498
case
DataGridViewSelectionMode
.CellSelect:
12549
case
DataGridViewSelectionMode
.FullColumnSelect:
12630
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
12725
case
DataGridViewSelectionMode
.FullRowSelect:
12809
case
DataGridViewSelectionMode
.RowHeaderSelect:
13017
this.SelectionMode !=
DataGridViewSelectionMode
.FullColumnSelect &&
13018
this.SelectionMode !=
DataGridViewSelectionMode
.ColumnHeaderSelect &&
14108
this.SelectionMode !=
DataGridViewSelectionMode
.FullColumnSelect &&
14109
this.SelectionMode !=
DataGridViewSelectionMode
.ColumnHeaderSelect)
14162
case
DataGridViewSelectionMode
.CellSelect:
14163
case
DataGridViewSelectionMode
.FullRowSelect:
14164
case
DataGridViewSelectionMode
.RowHeaderSelect:
14167
case
DataGridViewSelectionMode
.FullColumnSelect:
14168
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
14265
if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
15541
if (this.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect && AccessibilityImprovements.Level2)
15865
(this.SelectionMode ==
DataGridViewSelectionMode
.FullColumnSelect ||
15866
this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect))
15964
case
DataGridViewSelectionMode
.FullColumnSelect:
15965
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
16044
case
DataGridViewSelectionMode
.FullRowSelect:
16045
case
DataGridViewSelectionMode
.RowHeaderSelect:
16100
case
DataGridViewSelectionMode
.FullRowSelect:
16101
case
DataGridViewSelectionMode
.RowHeaderSelect:
17656
case
DataGridViewSelectionMode
.FullColumnSelect:
17657
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
17763
case
DataGridViewSelectionMode
.FullRowSelect:
17764
case
DataGridViewSelectionMode
.RowHeaderSelect:
18416
case
DataGridViewSelectionMode
.CellSelect:
18417
case
DataGridViewSelectionMode
.FullColumnSelect:
18418
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
18421
case
DataGridViewSelectionMode
.FullRowSelect:
18422
case
DataGridViewSelectionMode
.RowHeaderSelect:
18546
if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
20472
case
DataGridViewSelectionMode
.FullRowSelect:
20473
case
DataGridViewSelectionMode
.RowHeaderSelect:
20727
case
DataGridViewSelectionMode
.CellSelect:
20728
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
20957
case
DataGridViewSelectionMode
.FullRowSelect:
21175
case
DataGridViewSelectionMode
.RowHeaderSelect:
21453
case
DataGridViewSelectionMode
.FullColumnSelect:
21565
case
DataGridViewSelectionMode
.CellSelect:
21609
case
DataGridViewSelectionMode
.RowHeaderSelect:
21677
case
DataGridViewSelectionMode
.FullColumnSelect:
21714
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
21792
case
DataGridViewSelectionMode
.FullRowSelect:
22019
case
DataGridViewSelectionMode
.CellSelect:
22063
case
DataGridViewSelectionMode
.RowHeaderSelect:
22131
case
DataGridViewSelectionMode
.FullColumnSelect:
22172
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
22250
case
DataGridViewSelectionMode
.FullRowSelect:
22531
case
DataGridViewSelectionMode
.CellSelect:
22532
case
DataGridViewSelectionMode
.RowHeaderSelect:
22628
case
DataGridViewSelectionMode
.FullColumnSelect:
22726
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
22852
case
DataGridViewSelectionMode
.FullRowSelect:
22911
case
DataGridViewSelectionMode
.CellSelect:
22912
case
DataGridViewSelectionMode
.RowHeaderSelect:
23002
case
DataGridViewSelectionMode
.FullColumnSelect:
23087
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
23201
case
DataGridViewSelectionMode
.FullRowSelect:
23311
case
DataGridViewSelectionMode
.CellSelect:
23312
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
23313
case
DataGridViewSelectionMode
.RowHeaderSelect:
23316
case
DataGridViewSelectionMode
.FullRowSelect:
23319
case
DataGridViewSelectionMode
.FullColumnSelect:
23339
case
DataGridViewSelectionMode
.CellSelect:
23340
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
23370
case
DataGridViewSelectionMode
.FullRowSelect:
23404
case
DataGridViewSelectionMode
.RowHeaderSelect:
23457
case
DataGridViewSelectionMode
.FullColumnSelect:
23553
case
DataGridViewSelectionMode
.CellSelect:
23554
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
23555
case
DataGridViewSelectionMode
.RowHeaderSelect:
23558
case
DataGridViewSelectionMode
.FullRowSelect:
23561
case
DataGridViewSelectionMode
.FullColumnSelect:
23578
case
DataGridViewSelectionMode
.CellSelect:
23579
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
23609
case
DataGridViewSelectionMode
.FullRowSelect:
23643
case
DataGridViewSelectionMode
.RowHeaderSelect:
23696
case
DataGridViewSelectionMode
.FullColumnSelect:
23770
case
DataGridViewSelectionMode
.CellSelect:
23771
case
DataGridViewSelectionMode
.RowHeaderSelect:
23866
case
DataGridViewSelectionMode
.FullColumnSelect:
23964
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
24093
case
DataGridViewSelectionMode
.FullRowSelect:
24152
case
DataGridViewSelectionMode
.CellSelect:
24153
case
DataGridViewSelectionMode
.RowHeaderSelect:
24235
case
DataGridViewSelectionMode
.FullColumnSelect:
24315
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
24423
case
DataGridViewSelectionMode
.FullRowSelect:
24478
if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
24503
else if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
24761
case
DataGridViewSelectionMode
.CellSelect:
24762
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
24947
case
DataGridViewSelectionMode
.FullRowSelect:
25126
case
DataGridViewSelectionMode
.RowHeaderSelect:
25361
case
DataGridViewSelectionMode
.FullColumnSelect:
26651
case
DataGridViewSelectionMode
.CellSelect:
26670
case
DataGridViewSelectionMode
.FullRowSelect:
26671
case
DataGridViewSelectionMode
.RowHeaderSelect:
26686
case
DataGridViewSelectionMode
.FullColumnSelect:
26687
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
26737
case
DataGridViewSelectionMode
.CellSelect:
26745
case
DataGridViewSelectionMode
.FullColumnSelect:
26746
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
26763
if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect &&
26770
case
DataGridViewSelectionMode
.FullRowSelect:
26771
case
DataGridViewSelectionMode
.RowHeaderSelect:
26788
if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect &&
26963
this.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect &&
27443
case
DataGridViewSelectionMode
.FullColumnSelect:
27444
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
27452
case
DataGridViewSelectionMode
.FullRowSelect:
27453
case
DataGridViewSelectionMode
.RowHeaderSelect:
27669
if (this.SelectionMode ==
DataGridViewSelectionMode
.ColumnHeaderSelect)
27703
else if (this.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
27770
case
DataGridViewSelectionMode
.CellSelect:
27781
case
DataGridViewSelectionMode
.FullColumnSelect:
27817
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
27857
case
DataGridViewSelectionMode
.FullRowSelect:
27897
case
DataGridViewSelectionMode
.RowHeaderSelect:
28023
case
DataGridViewSelectionMode
.CellSelect:
28028
case
DataGridViewSelectionMode
.RowHeaderSelect:
28040
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
28052
case
DataGridViewSelectionMode
.FullRowSelect:
28057
case
DataGridViewSelectionMode
.FullColumnSelect:
28364
case
DataGridViewSelectionMode
.FullRowSelect:
28365
case
DataGridViewSelectionMode
.RowHeaderSelect:
28597
case
DataGridViewSelectionMode
.CellSelect:
28598
case
DataGridViewSelectionMode
.RowHeaderSelect:
28599
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
28619
case
DataGridViewSelectionMode
.FullColumnSelect:
28639
case
DataGridViewSelectionMode
.FullRowSelect:
28763
case
DataGridViewSelectionMode
.CellSelect:
28764
case
DataGridViewSelectionMode
.RowHeaderSelect:
28765
case
DataGridViewSelectionMode
.ColumnHeaderSelect:
28785
case
DataGridViewSelectionMode
.FullColumnSelect:
28805
case
DataGridViewSelectionMode
.FullRowSelect:
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
2346
if (dataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect || dataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (10)
815
if (this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect ||
816
this.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
1229
if (this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect ||
1230
this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
1305
if (this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect ||
1306
this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect)
1332
if ((this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect ||
1333
this.Owner.DataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect ) &&
1447
(dataGridView.SelectionMode ==
DataGridViewSelectionMode
.FullRowSelect ||
1448
dataGridView.SelectionMode ==
DataGridViewSelectionMode
.RowHeaderSelect))
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
83
this.parametersGrid.SelectionMode = System.Windows.Forms.
DataGridViewSelectionMode
.CellSelect;