14 references to Descending
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
250case SortOrder.Descending:
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
984sortOrder = ibl.SortDirection == ListSortDirection.Ascending ? SortOrder.Ascending : SortOrder.Descending; 997sortOrder = sorts[0]!.SortDirection == ListSortDirection.Ascending ? SortOrder.Ascending : SortOrder.Descending;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
28740SortOrder = (direction == ListSortDirection.Ascending) ? SortOrder.Ascending : SortOrder.Descending;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (2)
90Debug.Assert(value is >= SortOrder.None and <= SortOrder.Descending); 1096Debug.Assert(SortGlyphDirection == SortOrder.Descending);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
720case SortOrder.Descending:
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
178SortOrder.Descending => SR.SortedDescendingAccessibleStatus,
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\MaskDescriptorComparer.cs (1)
64return _sortOrder == SortOrder.Descending ? -retVal : retVal;
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
570case SortOrder.Descending: 574_listViewSortOrder = SortOrder.Descending;
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\MaskDescriptorComparerTests.cs (3)
34[InlineData(MaskDescriptorComparer.SortType.ByName, SortOrder.Descending, 1)] 36[InlineData(MaskDescriptorComparer.SortType.BySample, SortOrder.Descending, 1)] 38[InlineData(MaskDescriptorComparer.SortType.ByValidatingTypeName, SortOrder.Descending, 1)]