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)
10475SortedColumn = dataGridViewColumn; 13191SortedColumn = null; 17119SortedColumn = null; 17138SortedColumn = Columns[i]; 18932SortedColumn = null; 18951SortedColumn = Columns[i]; 28249SortedColumn = dataGridViewColumn; 28258SortedColumn = null;
18 references to SortedColumn
System.Windows.Forms (18)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (2)
249return (VARIANT)string.Format(SR.DataGridViewSortedAscendingAccessibleStatusFormat, owner.SortedColumn?.HeaderText); 251return (VARIANT)string.Format(SR.DataGridViewSortedDescendingAccessibleStatusFormat, owner.SortedColumn?.HeaderText);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
10473if (SortedColumn is null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.None) 13637if (SortedColumn == dataGridViewColumn) 14261|| (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.Programmatic && SortedColumn == dataGridViewColumn)) 17117if (dataGridViewColumn == SortedColumn) 18928if (dataGridViewColumnHeaderCell.OwningColumn == SortedColumn) 18958SortOrder = SortedColumn is not null ? SortedColumn.HeaderCell.SortGlyphDirection : SortOrder.None; 21529ListSortDirection listSortDirection = SortedColumn == dataGridViewColumn && SortOrder == SortOrder.Ascending ? 28239if (SortedColumn is not null 28240&& SortedColumn.SortMode == DataGridViewColumnSortMode.Automatic 28241&& SortedColumn.HasHeaderCell) 28243SortedColumn.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)
74dataGridViewCell.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;