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