38 references to None
System.Windows.Forms (35)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
246case SortOrder.None:
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
482SortOrder = SortOrder.None;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (10)
225_owner.Columns[i].HeaderCell.SortGlyphDirection = SortOrder.None; 230_owner.SortOrder = SortOrder.None; 267column.HeaderCell.SortGlyphDirection = SortOrder.None; 304return SortOrder.None; 309if (sortOrder == SortOrder.None) 312return SortOrder.None; 321return SortOrder.None; 976sortOrder = SortOrder.None; 1003sortOrder = SortOrder.None; 1010sortOrder = SortOrder.None;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
10473if (SortedColumn is null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.None) 13192SortOrder = SortOrder.None; 13639Debug.Assert(SortOrder != SortOrder.None); 14263dataGridViewColumn.HeaderCell.SortGlyphDirection = SortOrder.None; 16866dataGridViewColumn.HeaderCell.SortGlyphDirectionInternal = SortOrder.None; 17120SortOrder = SortOrder.None; 18930if (dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.None) 18958SortOrder = SortedColumn is not null ? SortedColumn.HeaderCell.SortGlyphDirection : SortOrder.None; 28243SortedColumn.HeaderCell.SortGlyphDirection = SortOrder.None; 28259SortOrder = SortOrder.None;
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (2)
274((DataGridViewColumnHeaderCell)priorValue).SortGlyphDirectionInternal = SortOrder.None; 319Debug.Assert(dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.None);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (5)
55_sortGlyphDirection = SortOrder.None; 75if (OwningColumn.SortMode == DataGridViewColumnSortMode.NotSortable && value != SortOrder.None) 90Debug.Assert(value is >= SortOrder.None and <= SortOrder.Descending); 936displaySortGlyph = (SortGlyphDirection != SortOrder.None); 992if (paint && SortGlyphDirection != SortOrder.None &&
System\Windows\Forms\Controls\ListView\ListView.cs (5)
55private SortOrder _sorting = SortOrder.None; 1494[DefaultValue(SortOrder.None)] 1520else if (value == SortOrder.None) 1527if (value == SortOrder.None) 2255if (!VirtualMode && _sorting != SortOrder.None)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
184((_owner.Sorting != SortOrder.None) && !_owner.VirtualMode))
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
170_listViewCannedMasks.Sorting = SortOrder.None; // We'll do the sorting ourselves. 569case SortOrder.None:
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListViewTests.cs (1)
136Assert.Equal(SortOrder.None, control.Sorting);