ViewStateChangedEventArgs(ModelItem, String, Object, Object) ViewStateChangedEventArgs(ModelItem, String, Object, Object) ViewStateChangedEventArgs(ModelItem, String, Object, Object) Constructor

Definition

Creates a new instance of the ViewStateChangedEventArgs class with a specified parent model item and its key/value pair with the old and the new values.

public:
 ViewStateChangedEventArgs(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key, System::Object ^ newValue, System::Object ^ oldValue);
public ViewStateChangedEventArgs (System.Activities.Presentation.Model.ModelItem modelItem, string key, object newValue, object oldValue);
new System.Activities.Presentation.View.ViewStateChangedEventArgs : System.Activities.Presentation.Model.ModelItem * string * obj * obj -> System.Activities.Presentation.View.ViewStateChangedEventArgs

Parameters

modelItem
ModelItem ModelItem ModelItem

An item in the activity designer model that serves as a parent element in the XML view of the model.

key
String String String

The name of an attribute in the specified parent element.

newValue
Object Object Object

The new value for the specified attribute key.

oldValue
Object Object Object

The old value of the specified attribute key.

Applies to