20 references to Descending
PresentationFramework (5)
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
275
if (sdc[k].Direction == ListSortDirection.
Descending
)
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
142
fields[k].descending = (sortFields[k].Direction == ListSortDirection.
Descending
);
src\Framework\System\Windows\Controls\DataGrid.cs (1)
7205
sortDirection = ListSortDirection.
Descending
;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
1071
if (sortDirection == ListSortDirection.
Descending
)
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (1)
276
static readonly IComparer _compareNameDescending = new NameComparer(ListSortDirection.
Descending
);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
162
ListSortDirection direction = (e.Column.SortDirection != ListSortDirection.Ascending) ? ListSortDirection.Ascending : ListSortDirection.
Descending
;
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
162
ListSortDirection direction = (e.Column.SortDirection != ListSortDirection.Ascending) ? ListSortDirection.Ascending : ListSortDirection.
Descending
;
fx\src\data\System\Data\DataView.cs (3)
1033
return ListSortDirection.
Descending
;
1163
if (ListSortDirection.
Descending
== direction) {
1193
sortDescArray[i] = new ListSortDescription(columnProperty, ListSortDirection.
Descending
);
System.Windows.Forms (8)
winforms\Managed\System\WinForms\BindingSource.cs (1)
1157
sorts.Add(new ListSortDescription(prop, ascending ? ListSortDirection.Ascending : ListSortDirection.
Descending
));
winforms\Managed\System\WinForms\DataGrid.cs (2)
5183
direction = (direction == ListSortDirection.Ascending) ? ListSortDirection.
Descending
: ListSortDirection.Ascending;
7168
if (direction == ListSortDirection.
Descending
)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1403
listSortDirection = ListSortDirection.
Descending
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
14122
direction = ListSortDirection.
Descending
;
21990
ListSortDirection.
Descending
: ListSortDirection.Ascending;
28170
if (direction != ListSortDirection.Ascending && direction != ListSortDirection.
Descending
)
28232
Debug.Assert(direction == ListSortDirection.Ascending || direction == ListSortDirection.
Descending
);
WindowsBase (2)
Base\System\ComponentModel\SortDescription.cs (2)
45
if (direction != ListSortDirection.Ascending && direction != ListSortDirection.
Descending
)
90
if (value < ListSortDirection.Ascending || value > ListSortDirection.
Descending
)