Exemplo n.º 1
0
 public void SetFirst(SortableColumn column)
 {
     if (!this.Selectors.HasItems())
     {
         return;
     }
     this.Selectors[0].SafeUpdate(column);
     this.Selectors[0].SafeUpdate(!column.DefaultIsDescending);
     this.UpdateSelectors();
 }
Exemplo n.º 2
0
 public void Sort(SortableColumn column)
 {
     this.SortWorker.SetFirst(column);
     this.Update();
 }
Exemplo n.º 3
0
 internal void SafeUpdate(SortableColumn column)
 {
     this._Current = column;
     this.RaisePropertyChanged(nameof(this.Current));
 }