79 references to SortOrder
System.Web.Mobile (1)
UI\MobileControls\Design\StylesEditorDialog.cs (1)
197_lvAvailableStyles.Sorting = SortOrder.Ascending;
System.Windows.Forms (76)
winforms\Managed\System\WinForms\DataGridView.cs (3)
299private SortOrder sortOrder; 524this.sortOrder = SortOrder.None; 5002public SortOrder SortOrder
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (3)
315case SortOrder.None: 317case SortOrder.Ascending: 319case SortOrder.Descending:
winforms\Managed\System\WinForms\DataGridViewBand.cs (2)
391((DataGridViewColumnHeaderCell)headerCell).SortGlyphDirectionInternal = SortOrder.None; 423Debug.Assert(dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.None);
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
4821name += ", " + (dataGridView.SortOrder == SortOrder.Ascending
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (15)
41private SortOrder sortGlyphDirection; 60this.sortGlyphDirection = SortOrder.None; 73public SortOrder SortGlyphDirection 82if (!ClientUtils.IsEnumValid(value, (int)value, (int)SortOrder.None, (int)SortOrder.Descending)) 84throw new InvalidEnumArgumentException("value", (int)value, typeof(SortOrder)); 92if (this.OwningColumn.SortMode == DataGridViewColumnSortMode.NotSortable && value != SortOrder.None) 102internal SortOrder SortGlyphDirectionInternal 106Debug.Assert(value >= SortOrder.None && value <= SortOrder.Descending); 953displaySortGlyph = (this.SortGlyphDirection != SortOrder.None); 1006if (paint && this.SortGlyphDirection != SortOrder.None && 1021if (this.SortGlyphDirection == SortOrder.Ascending) 1105Debug.Assert(this.SortGlyphDirection == SortOrder.Descending); 1401if (dataGridView.SortedColumn == dataGridViewCell.OwningColumn && dataGridView.SortOrder == SortOrder.Ascending)
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (18)
311SortOrder sortOrder; 323this.owner.Columns[i].HeaderCell.SortGlyphDirection = SortOrder.None; 328this.owner.sortOrder = SortOrder.None; 365column.HeaderCell.SortGlyphDirection = SortOrder.None; 398public SortOrder BoundColumnSortOrder(int boundColumnIndex) 405return SortOrder.None; 409SortOrder sortOrder; 413if (sortOrder == SortOrder.None) 416return SortOrder.None; 425return SortOrder.None; 1059private void GetSortingInformationFromBackend(out PropertyDescriptor sortProperty, out SortOrder sortOrder) 1066sortOrder = SortOrder.None; 1074sortOrder = ibl.SortDirection == ListSortDirection.Ascending ? SortOrder.Ascending : SortOrder.Descending; 1087sortOrder = sorts[0].SortDirection == ListSortDirection.Ascending ? SortOrder.Ascending : SortOrder.Descending; 1093sortOrder = SortOrder.None; 1100sortOrder = SortOrder.None;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (14)
10648if (this.sortedColumn == null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.None) 13652this.sortOrder = SortOrder.None; 14119Debug.Assert(this.sortOrder != SortOrder.None); 14120if (this.sortOrder == SortOrder.Ascending) 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; 21989ListSortDirection listSortDirection = this.SortedColumn == dataGridViewColumn && this.SortOrder == SortOrder.Ascending ? 28261this.sortedColumn.HeaderCell.SortGlyphDirection = SortOrder.None; 28268this.sortOrder = (direction == ListSortDirection.Ascending) ? SortOrder.Ascending : SortOrder.Descending; 28277this.sortOrder = SortOrder.None;
winforms\Managed\System\WinForms\ListView.cs (20)
71private SortOrder sorting = SortOrder.None; 738case SortOrder.Ascending: 741case SortOrder.Descending: 1483DefaultValue(SortOrder.None), 1486public SortOrder Sorting { 1492if (!ClientUtils.IsEnumValid(value, (int)value, (int)SortOrder.None, (int)SortOrder.Descending)) 1494throw new InvalidEnumArgumentException("value", (int)value, typeof(SortOrder)); 1506} else if (value == SortOrder.None) { 1512if (value == SortOrder.None) 2252if (!VirtualMode && sorting != SortOrder.None) { 6383private SortOrder sortOrder; 6385public IconComparer(SortOrder currentSortOrder) { 6389public SortOrder SortOrder { 6399if (sortOrder == SortOrder.Ascending) { 8972if (comparer != null || (owner.Sorting != SortOrder.None) && !owner.VirtualMode) { 9237case SortOrder.None: 9239case SortOrder.Ascending: 9241case SortOrder.Descending:
System.Workflow.Activities (2)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
85this.rulesListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
61this.listBoxAutoComplete.Sorting = SortOrder.Ascending;