public void ToggleDirection() { Direction = (Direction == SortDirection.Descending) ? SortDirection.Ascending : SortDirection.Descending; }