10 writes to SortedColumn
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
229
_owner.
SortedColumn
= null;
257
_owner.
SortedColumn
= column;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (8)
10475
SortedColumn
= dataGridViewColumn;
13191
SortedColumn
= null;
17119
SortedColumn
= null;
17138
SortedColumn
= Columns[i];
18932
SortedColumn
= null;
18951
SortedColumn
= Columns[i];
28249
SortedColumn
= dataGridViewColumn;
28258
SortedColumn
= null;
18 references to SortedColumn
System.Windows.Forms (18)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (2)
249
return (VARIANT)string.Format(SR.DataGridViewSortedAscendingAccessibleStatusFormat, owner.
SortedColumn
?.HeaderText);
251
return (VARIANT)string.Format(SR.DataGridViewSortedDescendingAccessibleStatusFormat, owner.
SortedColumn
?.HeaderText);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10473
if (
SortedColumn
is null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.None)
13637
if (
SortedColumn
== dataGridViewColumn)
14261
|| (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.Programmatic &&
SortedColumn
== dataGridViewColumn))
17117
if (dataGridViewColumn ==
SortedColumn
)
18928
if (dataGridViewColumnHeaderCell.OwningColumn ==
SortedColumn
)
18958
SortOrder =
SortedColumn
is not null ?
SortedColumn
.HeaderCell.SortGlyphDirection : SortOrder.None;
21529
ListSortDirection listSortDirection =
SortedColumn
== dataGridViewColumn && SortOrder == SortOrder.Ascending ?
28239
if (
SortedColumn
is not null
28240
&&
SortedColumn
.SortMode == DataGridViewColumnSortMode.Automatic
28241
&&
SortedColumn
.HasHeaderCell)
28243
SortedColumn
.HeaderCell.SortGlyphDirection = SortOrder.None;
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
250
if (DataGridView is not null && DataGridView.
SortedColumn
== dataGridViewColumn)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
74
dataGridViewCell.OwningColumn == dataGridView.
SortedColumn
)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
125
ListSortDirection listSortDirection = dataGridView.
SortedColumn
== dataGridViewCell.OwningColumn && dataGridView.SortOrder == SortOrder.Ascending
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.RowComparer.cs (1)
24
_dataGridViewSortedColumn = _dataGridView.
SortedColumn
;