Skip to main content
A newer version of this page is available. .

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

Declaration

public event EventHandler<ObjectSpaceCreatedEventArgs> ObjectSpaceCreated

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