38 references to None
System.Windows.Forms (38)
winforms\Managed\System\WinForms\DataGridView.cs (1)
524
this.sortOrder = SortOrder.
None
;
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
315
case SortOrder.
None
:
winforms\Managed\System\WinForms\DataGridViewBand.cs (2)
391
((DataGridViewColumnHeaderCell)headerCell).SortGlyphDirectionInternal = SortOrder.
None
;
423
Debug.Assert(dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.
None
);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (6)
60
this.sortGlyphDirection = SortOrder.
None
;
82
if (!ClientUtils.IsEnumValid(value, (int)value, (int)SortOrder.
None
, (int)SortOrder.Descending))
92
if (this.OwningColumn.SortMode == DataGridViewColumnSortMode.NotSortable && value != SortOrder.
None
)
106
Debug.Assert(value >= SortOrder.
None
&& value <= SortOrder.Descending);
953
displaySortGlyph = (this.SortGlyphDirection != SortOrder.
None
);
1006
if (paint && this.SortGlyphDirection != SortOrder.
None
&&
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (10)
323
this.owner.Columns[i].HeaderCell.SortGlyphDirection = SortOrder.
None
;
328
this.owner.sortOrder = SortOrder.
None
;
365
column.HeaderCell.SortGlyphDirection = SortOrder.
None
;
405
return SortOrder.
None
;
413
if (sortOrder == SortOrder.
None
)
416
return SortOrder.
None
;
425
return SortOrder.
None
;
1066
sortOrder = SortOrder.
None
;
1093
sortOrder = SortOrder.
None
;
1100
sortOrder = SortOrder.
None
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (10)
10648
if (this.sortedColumn == null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.
None
)
13652
this.sortOrder = SortOrder.
None
;
14119
Debug.Assert(this.sortOrder != SortOrder.
None
);
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
;
28261
this.sortedColumn.HeaderCell.SortGlyphDirection = SortOrder.
None
;
28277
this.sortOrder = SortOrder.
None
;
winforms\Managed\System\WinForms\ListView.cs (8)
71
private SortOrder sorting = SortOrder.
None
;
1483
DefaultValue(SortOrder.
None
),
1492
if (!ClientUtils.IsEnumValid(value, (int)value, (int)SortOrder.
None
, (int)SortOrder.Descending))
1506
} else if (value == SortOrder.
None
) {
1512
if (value == SortOrder.
None
)
2252
if (!VirtualMode && sorting != SortOrder.
None
) {
8972
if (comparer != null || (owner.Sorting != SortOrder.
None
) && !owner.VirtualMode) {
9237
case SortOrder.
None
: