XafApplication.ObjectSpaceCreated Event

Occurs after an Object Space has been created via the XafApplication.CreateObjectSpace method.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll


public event EventHandler<ObjectSpaceCreatedEventArgs> ObjectSpaceCreated
Public Event ObjectSpaceCreated As EventHandler(Of ObjectSpaceCreatedEventArgs)

Event Data

The ObjectSpaceCreated event handler receives an argument of the ObjectSpaceCreatedEventArgs type.


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