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)
10470
SortedColumn
= dataGridViewColumn;
13199
SortedColumn
= null;
17129
SortedColumn
= null;
17148
SortedColumn
= Columns[i];
18942
SortedColumn
= null;
18961
SortedColumn
= Columns[i];
28257
SortedColumn
= dataGridViewColumn;
28266
SortedColumn
= null;
18 references to SortedColumn
System.Windows.Forms (18)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (2)
248
return (VARIANT)string.Format(SR.DataGridViewSortedAscendingAccessibleStatusFormat, owner.
SortedColumn
?.HeaderText);
250
return (VARIANT)string.Format(SR.DataGridViewSortedDescendingAccessibleStatusFormat, owner.
SortedColumn
?.HeaderText);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10468
if (
SortedColumn
is null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.None)
13645
if (
SortedColumn
== dataGridViewColumn)
14269
|| (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.Programmatic &&
SortedColumn
== dataGridViewColumn))
17127
if (dataGridViewColumn ==
SortedColumn
)
18938
if (dataGridViewColumnHeaderCell.OwningColumn ==
SortedColumn
)
18968
SortOrder =
SortedColumn
is not null ?
SortedColumn
.HeaderCell.SortGlyphDirection : SortOrder.None;
21532
ListSortDirection listSortDirection =
SortedColumn
== dataGridViewColumn && SortOrder == SortOrder.Ascending ?
28247
if (
SortedColumn
is not null
28248
&&
SortedColumn
.SortMode == DataGridViewColumnSortMode.Automatic
28249
&&
SortedColumn
.HasHeaderCell)
28251
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)
73
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
;