1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //----------------------------------------------------------------
5 namespace System.Activities.Presentation.View
7 using System.Activities.Presentation.Model;
10 [Fx.Tag.XamlVisible(false)]
11 public class ViewStateChangedEventArgs : EventArgs
13 ModelItem parentModelItem;
18 public ViewStateChangedEventArgs(ModelItem modelItem, string key, object newValue, object oldValue)
20 this.parentModelItem = modelItem;
22 this.newValue = newValue;
23 this.oldValue = oldValue;
26 public ModelItem ParentModelItem
30 return this.parentModelItem;
41 public object NewValue
49 public object OldValue