private void MoveDisplayedAffectUpCommandExecute([CanBeNull] object obj)
        {
            if (SelectedDisplayedAffect != null)
            {
                var originalIndex = DisplayedAffects.IndexOf(SelectedDisplayedAffect);
                DisplayedAffects.Move(originalIndex, originalIndex - 1);
            }

            UpdateCommandsCanExecute();
        }
        private bool MoveDisplayedAffectUpCommandCanExecute([CanBeNull] object arg)
        {
            if (SelectedDisplayedAffect != null)
            {
                if (DisplayedAffects.IndexOf(SelectedDisplayedAffect) > 0)
                {
                    return(true);
                }
            }

            return(false);
        }