4 writes to SortMode
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
1138
dataGridViewColumn.
SortMode
= this.SortMode;
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (1)
100
base.
SortMode
= value;
System.WorkflowServices (2)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
625
typeColumn.
SortMode
= DataGridViewColumnSortMode.NotSortable;
640
directionColumn.
SortMode
= DataGridViewColumnSortMode.NotSortable;
27 references to SortMode
System.Windows.Forms (27)
winforms\Managed\System\WinForms\DataGridView.cs (2)
4754
if (dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic)
6993
if (dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic)
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
4813
if (AccessibilityImprovements.Level3 && owner.OwningColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
967
if (value != this.
SortMode
)
1138
dataGridViewColumn.SortMode = this.
SortMode
;
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (8)
92
if (this.OwningColumn.
SortMode
== DataGridViewColumnSortMode.NotSortable && value != SortOrder.None)
574
this.OwningColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable)
594
this.OwningColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable)
670
this.OwningColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable)
827
if (this.OwningColumn != null && this.OwningColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable ||
940
if (this.OwningColumn != null && this.OwningColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable)
1287
if (this.Owner.OwningColumn.
SortMode
== DataGridViewColumnSortMode.Automatic)
1398
if (dataGridViewCell.OwningColumn.
SortMode
== DataGridViewColumnSortMode.Automatic)
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
343
if (column.
SortMode
== DataGridViewColumnSortMode.NotSortable)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
3334
return dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic && (!VirtualMode || dataGridViewColumn.IsDataBound);
3339
return dataGridViewColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable && (!VirtualMode || dataGridViewColumn.IsDataBound);
10644
if (dataGridViewColumn.
SortMode
!= DataGridViewColumnSortMode.NotSortable &&
10902
dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic &&
11025
dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic &&
14739
if (dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.NotSortable ||
14740
(dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Programmatic && this.SortedColumn == dataGridViewColumn))
15864
dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic &&
17593
this.Columns[i].
SortMode
!= DataGridViewColumnSortMode.NotSortable &&
19509
this.Columns[i].
SortMode
!= DataGridViewColumnSortMode.NotSortable &&
28258
this.sortedColumn.
SortMode
== DataGridViewColumnSortMode.Automatic &&
28269
if (dataGridViewColumn.
SortMode
== DataGridViewColumnSortMode.Automatic && dataGridViewColumn.HasHeaderCell)
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (1)
96
return base.
SortMode
;