ContextItem.OnItemChanged Method (EditingContext, ContextItem)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

context
Type: System.Activities.Presentation.EditingContext

The EditingContext within which the change is being made.

previousItem
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
Available since 4.0
Return to top
Show: