38 references to None
System.Windows.Forms (35)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
245
case SortOrder.
None
:
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
482
SortOrder = SortOrder.
None
;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (10)
225
_owner.Columns[i].HeaderCell.SortGlyphDirection = SortOrder.
None
;
230
_owner.SortOrder = SortOrder.
None
;
267
column.HeaderCell.SortGlyphDirection = SortOrder.
None
;
304
return SortOrder.
None
;
309
if (sortOrder == SortOrder.
None
)
312
return SortOrder.
None
;
321
return SortOrder.
None
;
976
sortOrder = SortOrder.
None
;
1003
sortOrder = SortOrder.
None
;
1010
sortOrder = SortOrder.
None
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
10474
if (SortedColumn is null && dataGridViewColumn.HeaderCell.SortGlyphDirection != SortOrder.
None
)
13206
SortOrder = SortOrder.
None
;
13653
Debug.Assert(SortOrder != SortOrder.
None
);
14277
dataGridViewColumn.HeaderCell.SortGlyphDirection = SortOrder.
None
;
16885
dataGridViewColumn.HeaderCell.SortGlyphDirectionInternal = SortOrder.
None
;
17139
SortOrder = SortOrder.
None
;
18949
if (dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.
None
)
18977
SortOrder = SortedColumn is not null ? SortedColumn.HeaderCell.SortGlyphDirection : SortOrder.
None
;
28262
SortedColumn.HeaderCell.SortGlyphDirection = SortOrder.
None
;
28278
SortOrder = SortOrder.
None
;
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (2)
274
((DataGridViewColumnHeaderCell)priorValue).SortGlyphDirectionInternal = SortOrder.
None
;
319
Debug.Assert(dataGridViewColumnHeaderCell.SortGlyphDirection == SortOrder.
None
);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (5)
55
_sortGlyphDirection = SortOrder.
None
;
75
if (OwningColumn.SortMode == DataGridViewColumnSortMode.NotSortable && value != SortOrder.
None
)
90
Debug.Assert(value is >= SortOrder.
None
and <= SortOrder.Descending);
936
displaySortGlyph = (SortGlyphDirection != SortOrder.
None
);
992
if (paint && SortGlyphDirection != SortOrder.
None
&&
System\Windows\Forms\Controls\ListView\ListView.cs (5)
55
private SortOrder _sorting = SortOrder.
None
;
1494
[DefaultValue(SortOrder.
None
)]
1520
else if (value == SortOrder.
None
)
1527
if (value == SortOrder.
None
)
2259
if (!VirtualMode && _sorting != SortOrder.
None
)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
184
((_owner.Sorting != SortOrder.
None
) && !_owner.VirtualMode))
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
170
_listViewCannedMasks.Sorting = SortOrder.
None
; // We'll do the sorting ourselves.
569
case SortOrder.
None
:
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListViewTests.cs (1)
136
Assert.Equal(SortOrder.
None
, control.Sorting);