This documentation is archived and is not being maintained.

ActivityPreviewDesigner.OnContainedActivitiesChanged Method

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

Namespace: System.Workflow.ComponentModel.Design
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

protected override void OnContainedActivitiesChanged (
	ActivityCollectionChangeEventArgs listChangeArgs
protected void OnContainedActivitiesChanged (
	ActivityCollectionChangeEventArgs listChangeArgs
protected override function OnContainedActivitiesChanged (
	listChangeArgs : ActivityCollectionChangeEventArgs
Not applicable.



The ActivityCollectionChangeEventArgs that contains the event data.

Exception typeCondition


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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0