5 writes to Sort
System.Data.Common (5)
System\Data\DataView.cs (4)
588
Sort
= _delayedSort;
996
Sort
= CreateSortString(property, direction);
1047
Sort
= string.Empty;
1094
Sort
= sortString.ToString(); // what if we dont have any valid sort criteira? we would reset the sort
System\Data\LinqDataView.cs (1)
239
base.
Sort
= string.Empty;
13 references to Sort
System.Data.Common (13)
System\Data\DataView.cs (7)
348
SetIndex(
Sort
, RowStateFilter, ((null != value) ? new RowPredicateFilter(value) : null));
603
SetIndex(
Sort
, RowStateFilter, _rowFilter);
949
bool IBindingList.IsSorted =>
Sort
.Length != 0;
1596
newIndex = _table.GetIndex(
Sort
, ((DataViewRowState)_recordStates), GetFilter());
1755
/// <see cref="RowFilter"/> and <see cref="
Sort
"/> may differ by <see cref="StringComparison.OrdinalIgnoreCase"/>.
1763
!string.Equals(
Sort
, view.
Sort
, StringComparison.OrdinalIgnoreCase) || // case insensitive
System\Data\LinqDataView.cs (6)
111
Debug.Assert(base.
Sort
!= null);
112
Debug.Assert(!(!string.IsNullOrEmpty(base.
Sort
) && base.SortComparison != null),
115
if (!string.IsNullOrEmpty(base.
Sort
)) // use find for DV's sort string
148
if (base.SortComparison == null && string.IsNullOrEmpty(base.
Sort
))
188
if (base.SortComparison == null && string.IsNullOrEmpty(base.
Sort
))
281
return !(base.SortComparison == null && base.
Sort
.Length == 0);