public override void Sort(SortColData sorting) { _sortColumn = new SortCol(sorting.SortCol.Field, sorting.SortAsc); Refresh(); }
public override void Sort(SortColData sorting) { if (sorting.SortAsc == false) { Books.Reverse(); } Books.Sort(delegate(Book a, Book b) { return Entity.SortDelegate(sorting.SortCol.Field, a, b); }); if (sorting.SortAsc == false) { Books.Reverse(); } }
public virtual void Sort(SortColData sorting) { }
public override void Sort(SortColData sorting) { SortCol col = new SortCol(sorting.SortCol.Field,sorting.SortAsc); SortBy(col); }
public override void Sort(SortColData sorting) { _sortCol = sorting; SortData(); Refresh(); }