.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

XpoDataSource.Inserted Event

Enables you to respond to inserting a persistent object via a bound data-aware control.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public event XpoDataSourceInsertedEventHandler Inserted
Public Event Inserted As XpoDataSourceInsertedEventHandler

Event Data

The Inserted event's data class is XpoDataSourceInsertedEventArgs. The following properties provide information specific to this event:

Property Description
Value Provides access to the persistent object that has been inserted in the XpoDataSource via a bound data-aware control.

Remarks

The Inserted event is raised after a persistent object being inserted via a data-aware control, bound to the current XpoDataSource, has been saved to a data store. This can be useful when you want to access the inserted object's properties, such as XPObject.Oid. To access these properties, use the event's XpoDataSourceInsertedEventArgs.Value parameter.

See Also