Version

DataObjectRequested Event

Event raised when the XamGrid is requesting a new dataobject.
Syntax
'Declaration
 
Public Event DataObjectRequested As EventHandler(Of DataObjectCreationEventArgs)
public event EventHandler<DataObjectCreationEventArgs> DataObjectRequested
Event Data

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

PropertyDescription
CollectionType Gets the System.Type which is contained in the underlying collection.
ColumnLayout Gets the ColumnLayout which the object would be created under.
NewObject Gets / sets an object of the ObjectType which will be used as the newly created object.
ObjectType Gets the System.Type of object that the DataManager expects to be created.
ParentRow Gets the Row object which is the parent for this object.
RowTypeCreated Gets the RowType of the row that the newly created object will be associated with.
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