14 references to Descending
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
250
case SortOrder.
Descending
:
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
984
sortOrder = ibl.SortDirection == ListSortDirection.Ascending ? SortOrder.Ascending : SortOrder.
Descending
;
997
sortOrder = sorts[0]!.SortDirection == ListSortDirection.Ascending ? SortOrder.Ascending : SortOrder.
Descending
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
28269
SortOrder = (direction == ListSortDirection.Ascending) ? SortOrder.Ascending : SortOrder.
Descending
;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (2)
90
Debug.Assert(value is >= SortOrder.None and <= SortOrder.
Descending
);
1093
Debug.Assert(SortGlyphDirection == SortOrder.
Descending
);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
705
case SortOrder.
Descending
:
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
161
SortOrder.
Descending
=> SR.SortedDescendingAccessibleStatus,
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\MaskDescriptorComparer.cs (1)
64
return _sortOrder == SortOrder.
Descending
? -retVal : retVal;
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
570
case 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)]