'Declaration Public Event InitializeActivity As InitializeActivityEventHandler
public event InitializeActivityEventHandler InitializeActivity
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.
Property | Description |
---|---|
Activity | An Activity recently retrieved from the data source. |
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.
InitializeActivityEventArgsTarget 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