ActivityPreviewDesigner.OnContainedActivitiesChanged Method

Definition

Notifies the designer that the number of activities contained in the ActivityPreviewDesigner has changed.

protected:
 override void OnContainedActivitiesChanged(System::Workflow::ComponentModel::ActivityCollectionChangeEventArgs ^ listChangeArgs);
protected override void OnContainedActivitiesChanged (System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs listChangeArgs);
override this.OnContainedActivitiesChanged : System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs -> unit
Protected Overrides Sub OnContainedActivitiesChanged (listChangeArgs As ActivityCollectionChangeEventArgs)

Parameters

listChangeArgs
ActivityCollectionChangeEventArgs

The ActivityCollectionChangeEventArgs that contains the event data.

Exceptions

listChangeArgs contains a null reference (Nothing in Visual Basic).

Remarks

listChangeArgs contains the activity designers that have been added and removed from the ActivityPreviewDesigner. OnContainedActivitiesChanged updates the designer verbs associated with the ActivityPreviewDesigner and modifies the designer layout on the workflow design surface.

Applies to