// OpenViewCommand public bool CanOpenView(object parameter) { return(!SortingIsStarted && _viewFactory != null && _viewFactory.CanCreate(parameter)); }