public void DownCond(CondVM cond) { int index = Conds.IndexOf(cond); Conds.Move(index, index + 1); OnCondsOrderChanged(); }
public bool CanUpCond(CondVM cond) { int index = Conds.IndexOf(cond); if (index == 0) { return(false); } return(true); }
public bool CanDownCond(CondVM cond) { int index = Conds.IndexOf(cond); if (index == Conds.Count - 1) { return(false); } return(true); }