38 references to None
System.Windows.Forms (38)
winforms\Managed\System\WinForms\DataGridView.cs (1)
524this.sortOrder = SortOrder.None;
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
315case SortOrder.None:
winforms\Managed\System\WinForms\DataGridViewBand.cs (2)
391((DataGridViewColumnHeaderCell)headerCell).SortGlyphDirectionInternal = SortOrder.None; 423Debug.Assert(dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.None);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (6)
60this.sortGlyphDirection = SortOrder.None; 82if (!ClientUtils.IsEnumValid(value, (int)value, (int)SortOrder.None, (int)SortOrder.Descending)) 92if (this.OwningColumn.SortMode == DataGridViewColumnSortMode.NotSortable && value != SortOrder.None) 106Debug.Assert(value >= SortOrder.None && value <= SortOrder.Descending); 953displaySortGlyph = (this.SortGlyphDirection != SortOrder.None); 1006if (paint && this.SortGlyphDirection != SortOrder.None &&
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (10)
323this.owner.Columns[i].HeaderCell.SortGlyphDirection = SortOrder.None; 328this.owner.sortOrder = SortOrder.None; 365column.HeaderCell.SortGlyphDirection = SortOrder.None; 405return SortOrder.None; 413if (sortOrder == SortOrder.None) 416return SortOrder.None; 425return SortOrder.None; 1066sortOrder = SortOrder.None; 1093sortOrder = SortOrder.None; 1100sortOrder = SortOrder.None;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (10)
10648if (this.sortedColumn == null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.None) 13652this.sortOrder = SortOrder.None; 14119Debug.Assert(this.sortOrder != SortOrder.None); 14742dataGridViewColumn.HeaderCell.SortGlyphDirection = SortOrder.None; 17332dataGridViewColumn.HeaderCell.SortGlyphDirectionInternal = SortOrder.None; 17583this.sortOrder = SortOrder.None; 19496if (dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.None) 19523this.sortOrder = this.sortedColumn != null ? this.sortedColumn.HeaderCell.SortGlyphDirection : SortOrder.None; 28261this.sortedColumn.HeaderCell.SortGlyphDirection = SortOrder.None; 28277this.sortOrder = SortOrder.None;
winforms\Managed\System\WinForms\ListView.cs (8)
71private SortOrder sorting = SortOrder.None; 1483DefaultValue(SortOrder.None), 1492if (!ClientUtils.IsEnumValid(value, (int)value, (int)SortOrder.None, (int)SortOrder.Descending)) 1506} else if (value == SortOrder.None) { 1512if (value == SortOrder.None) 2252if (!VirtualMode && sorting != SortOrder.None) { 8972if (comparer != null || (owner.Sorting != SortOrder.None) && !owner.VirtualMode) { 9237case SortOrder.None: