Redigera

Dela via


ContextItem.OnItemChanged(EditingContext, ContextItem) Method

Definition

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.

protected:
 virtual void OnItemChanged(System::Activities::Presentation::EditingContext ^ context, System::Activities::Presentation::ContextItem ^ previousItem);
protected virtual void OnItemChanged (System.Activities.Presentation.EditingContext context, System.Activities.Presentation.ContextItem previousItem);
abstract member OnItemChanged : System.Activities.Presentation.EditingContext * System.Activities.Presentation.ContextItem -> unit
override this.OnItemChanged : System.Activities.Presentation.EditingContext * System.Activities.Presentation.ContextItem -> unit
Protected Overridable Sub OnItemChanged (context As EditingContext, previousItem As ContextItem)

Parameters

context
EditingContext

The EditingContext within which the change is being made.

previousItem
ContextItem

The previously active ContextItem.

Remarks

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

Applies to