77 references to ColumnHeaderSelect
System.Windows.Forms (60)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (6)
3636case DataGridViewSelectionMode.ColumnHeaderSelect: 3646if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 3692case DataGridViewSelectionMode.ColumnHeaderSelect: 3715case DataGridViewSelectionMode.ColumnHeaderSelect: 3746&& (value == DataGridViewSelectionMode.FullColumnSelect || value == DataGridViewSelectionMode.ColumnHeaderSelect)) 4960if (selectionMode is DataGridViewSelectionMode.FullColumnSelect or DataGridViewSelectionMode.ColumnHeaderSelect)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (46)
1431case DataGridViewSelectionMode.ColumnHeaderSelect: 3434case DataGridViewSelectionMode.ColumnHeaderSelect: 3463case DataGridViewSelectionMode.ColumnHeaderSelect: 3494case DataGridViewSelectionMode.ColumnHeaderSelect: 3553case DataGridViewSelectionMode.ColumnHeaderSelect: 3569if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 6871case DataGridViewSelectionMode.ColumnHeaderSelect: 6908case DataGridViewSelectionMode.ColumnHeaderSelect: 7737case DataGridViewSelectionMode.ColumnHeaderSelect: 7746else if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 7841else if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 10110&& (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect 10748&& (SelectionMode == DataGridViewSelectionMode.FullColumnSelect || SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect)) 10877&& (SelectionMode == DataGridViewSelectionMode.FullColumnSelect || SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect)) 11981|| SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect)) 12277case DataGridViewSelectionMode.ColumnHeaderSelect: 12667&& SelectionMode != DataGridViewSelectionMode.ColumnHeaderSelect 13629&& SelectionMode != DataGridViewSelectionMode.ColumnHeaderSelect) 13678case DataGridViewSelectionMode.ColumnHeaderSelect: 13789if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 15364&& (SelectionMode == DataGridViewSelectionMode.FullColumnSelect || SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect)) 15472case DataGridViewSelectionMode.ColumnHeaderSelect: 17192case DataGridViewSelectionMode.ColumnHeaderSelect: 17923case DataGridViewSelectionMode.ColumnHeaderSelect: 20167case DataGridViewSelectionMode.ColumnHeaderSelect: 21247case DataGridViewSelectionMode.ColumnHeaderSelect: 21726case DataGridViewSelectionMode.ColumnHeaderSelect: 22314case DataGridViewSelectionMode.ColumnHeaderSelect: 22742case DataGridViewSelectionMode.ColumnHeaderSelect: 22985case DataGridViewSelectionMode.ColumnHeaderSelect: 23011case DataGridViewSelectionMode.ColumnHeaderSelect: 23243case DataGridViewSelectionMode.ColumnHeaderSelect: 23268case DataGridViewSelectionMode.ColumnHeaderSelect: 23687case DataGridViewSelectionMode.ColumnHeaderSelect: 24082case DataGridViewSelectionMode.ColumnHeaderSelect: 24260if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 24542case DataGridViewSelectionMode.ColumnHeaderSelect: 26583case DataGridViewSelectionMode.ColumnHeaderSelect: 26646case DataGridViewSelectionMode.ColumnHeaderSelect: 26663if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect 27413case DataGridViewSelectionMode.ColumnHeaderSelect: 27638if (SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect) 27795case DataGridViewSelectionMode.ColumnHeaderSelect: 28025case DataGridViewSelectionMode.ColumnHeaderSelect: 28537case DataGridViewSelectionMode.ColumnHeaderSelect: 28706case DataGridViewSelectionMode.ColumnHeaderSelect:
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
563if (DataGridView.SelectionMode is DataGridViewSelectionMode.FullColumnSelect or DataGridViewSelectionMode.ColumnHeaderSelect)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedList.cs (1)
74dataGridViewCell.DataGridView.SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect ||
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
728DataGridView.SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect))
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
801DataGridView.SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (4)
51Owner.DataGridView.SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect)) 93or DataGridViewSelectionMode.ColumnHeaderSelect) 132DataGridViewSelectionMode.ColumnHeaderSelect) 225dataGridView.SelectionMode == DataGridViewSelectionMode.ColumnHeaderSelect))
System.Windows.Forms.Tests (17)
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (4)
95[InlineData(DataGridViewSelectionMode.ColumnHeaderSelect, DataGridViewColumnSortMode.NotSortable)] 96[InlineData(DataGridViewSelectionMode.ColumnHeaderSelect, DataGridViewColumnSortMode.Programmatic)] 389[InlineData(DataGridViewSelectionMode.ColumnHeaderSelect)] 406[InlineData(DataGridViewSelectionMode.ColumnHeaderSelect)]
System\Windows\Forms\DataGridViewRowTests.cs (1)
2943[InlineData(DataGridViewSelectionMode.ColumnHeaderSelect, false)]
System\Windows\Forms\DataGridViewSelectedColumnCollectionTests.cs (12)
32control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 56control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 91control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 120control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 170control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 224control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 250control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 287control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 363control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 404control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 449control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect; 504control.SelectionMode = DataGridViewSelectionMode.ColumnHeaderSelect;