18 references to Automatic
System.Windows.Forms (18)
winforms\Managed\System\WinForms\DataGridView.cs (2)
4754
if (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
)
6993
if (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
954
return DataGridViewColumnSortMode.
Automatic
;
973
value == DataGridViewColumnSortMode.
Automatic
&&
979
if (value == DataGridViewColumnSortMode.
Automatic
)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
1287
if (this.Owner.OwningColumn.SortMode == DataGridViewColumnSortMode.
Automatic
)
1398
if (dataGridViewCell.OwningColumn.SortMode == DataGridViewColumnSortMode.
Automatic
)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (9)
3334
return dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
&& (!VirtualMode || dataGridViewColumn.IsDataBound);
10902
dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
&&
10906
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.
Automatic
.ToString(), this.SelectionMode.ToString()));
11025
dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
&&
11029
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.
Automatic
.ToString(), this.SelectionMode.ToString()));
15864
dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
&&
15868
throw new InvalidOperationException(SR.GetString(SR.DataGridViewColumn_SortModeAndSelectionModeClash, DataGridViewColumnSortMode.
Automatic
.ToString(), this.SelectionMode.ToString()));
28258
this.sortedColumn.SortMode == DataGridViewColumnSortMode.
Automatic
&&
28269
if (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.
Automatic
&& dataGridViewColumn.HasHeaderCell)
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (2)
25
this.SortMode = DataGridViewColumnSortMode.
Automatic
;
90
DefaultValue(DataGridViewColumnSortMode.
Automatic
)