Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActivityCollection::ListChanged Event

 

Raised whenever a change is made to the contents of this ICollection.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
event EventHandler<ActivityCollectionChangeEventArgs^>^ ListChanged {
	void add(EventHandler<ActivityCollectionChangeEventArgs^>^ value);
	void remove(EventHandler<ActivityCollectionChangeEventArgs^>^ value);
}

In this context, adding or removing members raises the event. Modifying a member does not raise this event.

When you create an ActivityCollection delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see NIB: Events and Delegates.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft