The requested page is not available for the requested platform. You are viewing the content for Default platform.

CustomCloneObjectEventArgs.TargetObjectSpace Property

Specifies the Object Space of the target object.

Namespace: DevExpress.ExpressApp.CloneObject

Assembly: DevExpress.ExpressApp.CloneObject.v19.1.dll

Declaration

public IObjectSpace TargetObjectSpace { get; set; }
Public Property TargetObjectSpace As IObjectSpace

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