65 references to RowHeaderSelect
System.Windows.Forms (57)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (6)
250
private const DataGridViewSelectionMode DefaultSelectionMode = DataGridViewSelectionMode.
RowHeaderSelect
;
3655
case DataGridViewSelectionMode.
RowHeaderSelect
:
3666
if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
3689
case DataGridViewSelectionMode.
RowHeaderSelect
:
3718
case DataGridViewSelectionMode.
RowHeaderSelect
:
3733
[DefaultValue(DataGridViewSelectionMode.
RowHeaderSelect
)]
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (43)
1467
case DataGridViewSelectionMode.
RowHeaderSelect
:
3417
case DataGridViewSelectionMode.
RowHeaderSelect
:
3472
case DataGridViewSelectionMode.
RowHeaderSelect
:
3485
case DataGridViewSelectionMode.
RowHeaderSelect
:
3528
case DataGridViewSelectionMode.
RowHeaderSelect
:
3544
if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
6877
case DataGridViewSelectionMode.
RowHeaderSelect
:
6927
case DataGridViewSelectionMode.
RowHeaderSelect
:
7736
case DataGridViewSelectionMode.
RowHeaderSelect
:
7741
if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
7815
if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
10111
|| SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
12482
case DataGridViewSelectionMode.
RowHeaderSelect
:
13674
case DataGridViewSelectionMode.
RowHeaderSelect
:
15562
case DataGridViewSelectionMode.
RowHeaderSelect
:
15622
case DataGridViewSelectionMode.
RowHeaderSelect
:
17307
case DataGridViewSelectionMode.
RowHeaderSelect
:
17927
case DataGridViewSelectionMode.
RowHeaderSelect
:
18069
if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
19929
case DataGridViewSelectionMode.
RowHeaderSelect
:
20656
case DataGridViewSelectionMode.
RowHeaderSelect
:
21130
case DataGridViewSelectionMode.
RowHeaderSelect
:
21604
case DataGridViewSelectionMode.
RowHeaderSelect
:
22094
case DataGridViewSelectionMode.
RowHeaderSelect
:
22524
case DataGridViewSelectionMode.
RowHeaderSelect
:
22986
case DataGridViewSelectionMode.
RowHeaderSelect
:
23087
case DataGridViewSelectionMode.
RowHeaderSelect
:
23244
case DataGridViewSelectionMode.
RowHeaderSelect
:
23343
case DataGridViewSelectionMode.
RowHeaderSelect
:
23468
case DataGridViewSelectionMode.
RowHeaderSelect
:
23899
case DataGridViewSelectionMode.
RowHeaderSelect
:
24287
else if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
24924
case DataGridViewSelectionMode.
RowHeaderSelect
:
26565
case DataGridViewSelectionMode.
RowHeaderSelect
:
26673
case DataGridViewSelectionMode.
RowHeaderSelect
:
26690
if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
&& index < _individualSelectedCells.Count)
27424
case DataGridViewSelectionMode.
RowHeaderSelect
:
27674
else if (SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
)
27879
case DataGridViewSelectionMode.
RowHeaderSelect
:
28011
case DataGridViewSelectionMode.
RowHeaderSelect
:
28354
case DataGridViewSelectionMode.
RowHeaderSelect
:
28536
case DataGridViewSelectionMode.
RowHeaderSelect
:
28705
case DataGridViewSelectionMode.
RowHeaderSelect
:
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
555
if (DataGridView.SelectionMode is DataGridViewSelectionMode.FullRowSelect or DataGridViewSelectionMode.
RowHeaderSelect
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedList.cs (1)
75
dataGridViewCell.DataGridView.SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
437
if (dataGridView.SelectionMode is DataGridViewSelectionMode.FullRowSelect or DataGridViewSelectionMode.
RowHeaderSelect
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
679
if (DataGridView.SelectionMode is DataGridViewSelectionMode.FullRowSelect or DataGridViewSelectionMode.
RowHeaderSelect
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (4)
56
Owner.DataGridView.SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
))
104
Owner.DataGridView.SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
))
128
Owner.DataGridView.SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
))
230
dataGridView.SelectionMode == DataGridViewSelectionMode.
RowHeaderSelect
))
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (3)
65
yield return new object[] { DataGridViewSelectionMode.
RowHeaderSelect
, SR.DataGridView_RowHeaderCellAccDefaultAction };
85
[InlineData(DataGridViewSelectionMode.
RowHeaderSelect
, true)]
105
[InlineData(DataGridViewSelectionMode.
RowHeaderSelect
)]
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (4)
102
[InlineData(DataGridViewSelectionMode.
RowHeaderSelect
, DataGridViewColumnSortMode.Automatic)]
103
[InlineData(DataGridViewSelectionMode.
RowHeaderSelect
, DataGridViewColumnSortMode.NotSortable)]
104
[InlineData(DataGridViewSelectionMode.
RowHeaderSelect
, DataGridViewColumnSortMode.Programmatic)]
424
Assert.Equal(DataGridViewSelectionMode.
RowHeaderSelect
, control.SelectionMode);
System\Windows\Forms\DataGridViewRowTests.cs (1)
2942
[InlineData(DataGridViewSelectionMode.
RowHeaderSelect
, true)]