Version

InitializeResource Event

Event fired each time a new Resource gets loaded from the database and initialized.
Syntax
'Declaration
 
Public Event InitializeResource As InitializeResourceEventHandler
public event InitializeResourceEventHandler InitializeResource
Event Data

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

PropertyDescription
Resource A Resource recently retrieved from the data source.
Remarks

This event fires immediately after each individual Resource 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 InitializeResourceEventHandler. A reference to the new Resource will be passed inside of the event arguments to that event handler when it gets called back.

InitializeResourceEventArgs
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