Version

InitializeActivityEventHandler Delegate

Handler for a application-specified method that expects to be called back when the InitializeActivity event fires.
Syntax
'Declaration
 
Public Delegate Sub InitializeActivityEventHandler( _
   ByVal sender As Object, _
   ByVal e As InitializeActivityEventArgs _
) 
public delegate void InitializeActivityEventHandler( 
   object sender,
   InitializeActivityEventArgs e
)

Parameters

sender
e
Remarks

Applications wishing to receive notification after an Activity has been fetched from the database and added to it's collection should implement a method within their application matching the signature of this delegate.

They may then instantiate the InitializeActivityEventHandler and add it as a handler on the InitializeActivity event of their WebSchedule data provider.

Each time the event fires during data-bind, the application's method that has been added as a handler to the InitializeActivity event will receive InitializeActivityEventArgs describing the newly added activity. This method can then perform any additional initializations on the Activity that the application requires (for example, setting it's Style property for individual activity styling).

InitializeActivity
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