public void AddFlowConditions() { if (this.RuleGroup == null) { this.Model.RuleGroup = new RuleGroup(); RuleGroupViewModel vm = new RuleGroupViewModel(this.Model.RuleGroup, "Flow conditions"); this.RuleGroup = vm; this.IsExpanded = true; this.RuleGroup.IsExpanded = true; this.RuleGroup.IsSelected = true; } }
public void AddExecutionConditions() { if (this.RuleGroup == null) { this.Model.RuleGroup = new RuleGroup(); RuleGroupViewModel vm = new RuleGroupViewModel(this.Model.RuleGroup, "Execution rules"); this.RuleGroup = vm; //this.RaisePropertyChanged("ChildNodes"); this.IsExpanded = true; this.RuleGroup.IsExpanded = true; this.RuleGroup.IsSelected = true; } }
public void RemoveExecutionConditions() { this.RuleGroup = null; this.Model.RuleGroup = null; //this.RaisePropertyChanged("ChildNodes"); }
public void RemoveFlowConditions() { this.RuleGroup = null; this.Model.RuleGroup = null; }
private BitmapSource GetIcon(RuleGroupViewModel item) { return(new BitmapImage(new Uri("pack://application:,,,/Lithnet.Umare.Presentation;component/Resources/ExecutionConditions.png", UriKind.Absolute))); }