Version

InitializeActivity Event

Event fired each time a new Activity gets loaded from the database and initialized.
Syntax
'Declaration
 
Public Event InitializeActivity As InitializeActivityEventHandler
public event InitializeActivityEventHandler InitializeActivity
Event Data

The event handler receives an argument of type InitializeActivityEventArgs containing data related to this event. The following InitializeActivityEventArgs properties provide information specific to this event.

PropertyDescription
Activity An Activity recently retrieved from the data source.
Remarks

This event fires immediately after each individual Activity is databound from a record in the database, and added to it's parent collection. Developers may subscribe to handle this event by registering a method in their application matching the signature of InitializeActivityEventHandler. A reference to the new Activity will be passed inside of the event arguments to that event handler when it gets called back.

InitializeActivityEventArgs
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also