The ObjectSpaceCreated event handler receives an argument of the ObjectSpaceCreatedEventArgs type. The following properties provide information specific to this event.
|ObjectSpace||Gets the Object Space.|
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.
Any other suggestions? Tell us here.