Beispiel #1
0
 protected override void ModifyValue(PropertyReference propertyReference, object valueToSet, SceneNode.Modification modification, int index)
 {
     if (modification == SceneNode.Modification.SetValue || modification == SceneNode.Modification.InsertValue)
     {
         ItemsControlElement.ClearMutuallyExclusivePropertyIfNeeded((SceneElement)this, propertyReference);
     }
     base.ModifyValue(propertyReference, valueToSet, modification, index);
 }
Beispiel #2
0
 protected override void ModifyValue(PropertyReference propertyReference, object valueToSet, SceneNode.Modification modification, int index)
 {
     if (PlatformTypes.ItemsControl.IsAssignableFrom((ITypeId)this.Type) && (modification == SceneNode.Modification.SetValue || modification == SceneNode.Modification.InsertValue))
     {
         ItemsControlElement.ClearMutuallyExclusivePropertyIfNeeded((SceneElement)this, propertyReference);
     }
     base.ModifyValue(propertyReference, valueToSet, modification, index);
 }