private BehaviorTriggerBaseNode GetUpdatedParentNode(PropertyReference propertyReference, object valueToSet, Modification modification) { BehaviorTriggerBaseNode behaviorTriggerBaseNode = this.FindExistingTriggerMatchingPropertyChange(propertyReference, valueToSet, modification); if (behaviorTriggerBaseNode == null) { if (this.ParentTrigger.Actions.Count <= 1) { return((BehaviorTriggerBaseNode)null); } behaviorTriggerBaseNode = BehaviorHelper.CloneTrigger(this.ParentTrigger, this.ViewModel); } return(behaviorTriggerBaseNode); }
internal BehaviorTriggerBaseNode CloneCurrentTrigger() { return(BehaviorHelper.CloneTrigger(this.behaviorTriggerBaseNode, this.sceneViewModel)); }