Example #1
0
        public void DownCondGroup(CondGroupVM condGroup)
        {
            int index = CondGroups.IndexOf(condGroup);

            CondGroups.Move(index, index + 1);
            OnCondGroupsOrderChanged();
        }
Example #2
0
        public bool CanDownCondGroup(CondGroupVM condGroup)
        {
            int index = CondGroups.IndexOf(condGroup);

            if (index == CondGroups.Count - 1)
            {
                return(false);
            }
            return(true);
        }
Example #3
0
        public bool CanUpCondGroup(CondGroupVM condGroup)
        {
            int index = CondGroups.IndexOf(condGroup);

            if (index == 0)
            {
                return(false);
            }
            return(true);
        }