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