21 references to Ascending
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
248
case SortOrder.
Ascending
:
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 (3)
13640
if (SortOrder == SortOrder.
Ascending
)
21529
ListSortDirection listSortDirection = SortedColumn == dataGridViewColumn && SortOrder == SortOrder.
Ascending
?
28250
SortOrder = (direction == ListSortDirection.Ascending) ? SortOrder.
Ascending
: SortOrder.Descending;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
76
name += ", " + (dataGridView.SortOrder == SortOrder.
Ascending
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
1008
if (SortGlyphDirection == SortOrder.
Ascending
)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
125
ListSortDirection listSortDirection = dataGridView.SortedColumn == dataGridViewCell.OwningColumn && dataGridView.SortOrder == SortOrder.
Ascending
System\Windows\Forms\Controls\ListView\ListView.cs (1)
702
case SortOrder.
Ascending
:
System\Windows\Forms\Controls\ListView\ListView.IconComparer.cs (1)
35
if (_sortOrder == SortOrder.
Ascending
)
System\Windows\Forms\Controls\ListView\ListView.ListViewAccessibleObject.cs (1)
160
SortOrder.
Ascending
=> SR.SortedAscendingAccessibleStatus,
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\MaskDesignerDialog.cs (3)
35
private SortOrder _listViewSortOrder = SortOrder.
Ascending
;
571
_listViewSortOrder = SortOrder.
Ascending
;
573
case SortOrder.
Ascending
:
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\MaskDescriptorComparerTests.cs (4)
28
MaskDescriptorComparer comparer = new(MaskDescriptorComparer.SortType.ByName, SortOrder.
Ascending
);
33
[InlineData(MaskDescriptorComparer.SortType.ByName, SortOrder.
Ascending
, -1)]
35
[InlineData(MaskDescriptorComparer.SortType.BySample, SortOrder.
Ascending
, -1)]
37
[InlineData(MaskDescriptorComparer.SortType.ByValidatingTypeName, SortOrder.
Ascending
, -1)]
WinFormsControlsTest (2)
ListViewTest.cs (1)
72
Sorting = SortOrder.
Ascending
,
MultipleControls.cs (1)
37
Sorting = SortOrder.
Ascending
,