2 writes to SelectionMode
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridView.cs (1)
6996
this.
SelectionMode
= defaultSelectionMode; // DataGridViewSelectionMode.RowHeaderSelect
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
83
this.parametersGrid.
SelectionMode
= System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
112 references to SelectionMode
System.Windows.Forms (112)
winforms\Managed\System\WinForms\DataGridView.cs (7)
4618
switch (this.
SelectionMode
)
4637
if (this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect)
4654
if (this.
SelectionMode
== DataGridViewSelectionMode.RowHeaderSelect)
4677
switch (this.
SelectionMode
)
4708
switch (this.
SelectionMode
)
4747
if (this.
SelectionMode
!= value)
6988
DataGridViewSelectionMode selectionMode = this.
SelectionMode
;
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 (3)
974
(this.DataGridView.
SelectionMode
== DataGridViewSelectionMode.FullColumnSelect ||
975
this.DataGridView.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect))
977
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, (value).ToString(), this.DataGridView.
SelectionMode
.ToString()));
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 (72)
1383
switch (this.
SelectionMode
)
3448
switch (this.
SelectionMode
)
3467
this.
SelectionMode
== DataGridViewSelectionMode.FullRowSelect &&
3501
switch (this.
SelectionMode
)
3525
switch (this.
SelectionMode
)
3563
switch (this.
SelectionMode
)
3589
if (this.
SelectionMode
== DataGridViewSelectionMode.RowHeaderSelect)
3612
if (this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect)
6926
switch (this.
SelectionMode
)
6960
switch (this.
SelectionMode
)
7232
switch (this.
SelectionMode
)
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))
10906
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), this.
SelectionMode
.ToString()));
11026
(this.
SelectionMode
== DataGridViewSelectionMode.FullColumnSelect ||
11027
this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect))
11029
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), this.
SelectionMode
.ToString()));
12364
(this.
SelectionMode
== DataGridViewSelectionMode.FullColumnSelect ||
12365
this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect))
12496
switch (this.
SelectionMode
)
13017
this.
SelectionMode
!= DataGridViewSelectionMode.FullColumnSelect &&
13018
this.
SelectionMode
!= DataGridViewSelectionMode.ColumnHeaderSelect &&
14108
this.
SelectionMode
!= DataGridViewSelectionMode.FullColumnSelect &&
14109
this.
SelectionMode
!= DataGridViewSelectionMode.ColumnHeaderSelect)
14160
switch (this.
SelectionMode
)
14265
if (this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect)
15541
if (this.
SelectionMode
== DataGridViewSelectionMode.FullRowSelect && AccessibilityImprovements.Level2)
15865
(this.
SelectionMode
== DataGridViewSelectionMode.FullColumnSelect ||
15866
this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect))
15868
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.Automatic.ToString(), this.
SelectionMode
.ToString()));
15962
switch (this.
SelectionMode
)
16042
switch (this.
SelectionMode
)
16098
switch (this.
SelectionMode
)
17654
switch (this.
SelectionMode
)
17761
switch (this.
SelectionMode
)
18414
switch (this.
SelectionMode
)
18546
if (this.
SelectionMode
== DataGridViewSelectionMode.RowHeaderSelect)
20470
switch (this.
SelectionMode
)
20725
switch (this.
SelectionMode
)
21563
switch (this.
SelectionMode
)
22017
switch (this.
SelectionMode
)
22529
switch (this.
SelectionMode
)
22909
switch (this.
SelectionMode
)
23309
switch (this.
SelectionMode
)
23337
switch (this.
SelectionMode
)
23551
switch (this.
SelectionMode
)
23576
switch (this.
SelectionMode
)
23768
switch (this.
SelectionMode
)
24150
switch (this.
SelectionMode
)
24478
if (this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect)
24503
else if (this.
SelectionMode
== DataGridViewSelectionMode.RowHeaderSelect)
24759
switch (this.
SelectionMode
)
26649
switch (this.
SelectionMode
)
26735
switch (this.
SelectionMode
)
26763
if (this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect &&
26788
if (this.
SelectionMode
== DataGridViewSelectionMode.RowHeaderSelect &&
26963
this.
SelectionMode
== DataGridViewSelectionMode.FullRowSelect &&
27441
switch (this.
SelectionMode
)
27669
if (this.
SelectionMode
== DataGridViewSelectionMode.ColumnHeaderSelect)
27703
else if (this.
SelectionMode
== DataGridViewSelectionMode.RowHeaderSelect)
27768
switch (this.
SelectionMode
)
28021
switch (this.
SelectionMode
)
28362
switch (this.
SelectionMode
)
28595
switch (this.
SelectionMode
)
28761
switch (this.
SelectionMode
)
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))