Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomCloneObjectEventArgs.TargetObjectSpace Property

Specifies the Object Space of the target object.

Namespace: DevExpress.ExpressApp.CloneObject

Assembly: DevExpress.ExpressApp.CloneObject.Xpo.v24.2.dll

#Declaration

public IObjectSpace TargetObjectSpace { get; set; }

#Property Value

Type Description
IObjectSpace

The Object Space of the target object.

#Remarks

By default, the TargetObjectSpace property returns null. It should be initialized in case the cloned object is assigned to the CustomCloneObjectEventArgs.ClonedObject property. Use the CustomCloneObjectEventArgs.CreateDefaultTargetObjectSpace method to obtain a default Object Space for the current context, or create a new Object Space instance via the XafApplication.CreateObjectSpace method.

See Also