XafApplication.ObjectSpaceCreated Event
Occurs after an Object Space has been created via the XafApplication.CreateObjectSpace method.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v18.1.dll
Declaration
Event Data
The ObjectSpaceCreated event's data class is ObjectSpaceCreatedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ObjectSpace | Gets the Object Space. |
Remarks
If you need to access the Object Space created for a particular View, handle the ObjectSpaceCreated event and use its ObjectSpaceCreatedEventArgs.ObjectSpace parameter.
Note that nested Object Spaces are created via the XPObjectSpace.CreateNestedObjectSpace method. So, the ObjectSpaceCreated event is not raised when a nested Object Space is created.
See Also