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

.NET Framework (current version)
 

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.

Namespace:   System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public:
ViewStateChangedEventArgs(
	ModelItem^ modelItem,
	String^ key,
	Object^ newValue,
	Object^ oldValue
)

Parameters

modelItem
Type: System.Activities.Presentation.Model::ModelItem^

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

key
Type: System::String^

The name of an attribute in the specified parent element.

newValue
Type: System::Object^

The new value for the specified attribute key.

oldValue
Type: System::Object^

The old value of the specified attribute key.

.NET Framework
Available since 4.0
Return to top
Show: