Export (0) Print
Expand All

ViewStateChangedEventArgs Constructor

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft