Export (0) Print
Expand All

ContextItem.OnItemChanged Method

.NET Framework 4.6 and 4.5

Represents a method that is called on the context item before it is stored in the context item manager. The previous item in the context item manager is passed as a parameter.

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

protected virtual void OnItemChanged(
	EditingContext context,
	ContextItem previousItem


Type: System.Activities.Presentation.EditingContext

The EditingContext within which the change is being made.

Type: System.Activities.Presentation.ContextItem

The previously active ContextItem.

Because items must have default constructors, a default item will be constructed if an item is passed into the context the first time.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft