Version

NewObjectGeneration Event

Event raised when the DataManagerBase is attempting to create a new instance of the CachedType object.
Syntax
'Declaration
 
Public Event NewObjectGeneration As EventHandler(Of HandleableObjectGenerationEventArgs)
public event EventHandler<HandleableObjectGenerationEventArgs> NewObjectGeneration
Event Data

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

PropertyDescription
CollectionType Gets the System.Type which is contained in the underlying collection.
Handled (Inherited from Infragistics.HandleableEventArgs)Gets / sets if the event is to be considered handled.
NewObject Gets / sets the instance of the object that will be used by the DataManager rather then attempting to create a new instance of the object using the default constructor.
ObjectType Gets the System.Type of object that the DataManager is handling.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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