public void DeleteCondition(LayerConditionViewModel layerConditionViewModel, LayerConditionModel layerConditionModel) { LayerConditionVms.Remove(layerConditionViewModel); Layer.Properties.Conditions.Remove(layerConditionModel); }
public void AddCondition() { var condition = new LayerConditionModel(); LayerConditionVms.Add(new LayerConditionViewModel(this, condition, DataModelProps)); }