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

CloneObjectViewController.AllowCloneWhenModified Property

Specifies whether to disable cloning when there are unsaved changes with the current object.

Namespace: DevExpress.ExpressApp.CloneObject

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

Declaration

[DefaultValue(false)]
public bool AllowCloneWhenModified { get; set; }
<DefaultValue(False)>
Public Property AllowCloneWhenModified As Boolean

Property Value

Type Default Description
Boolean

false

true, when cloning of modified object is allowed; otherwise - false.

Remarks

By default, the CloneObjectViewController.CloneObjectAction Action is disabled when there are unsaved changes with the current object. The reason is that the cloning process works in a separate Object Space (see BaseObjectSpace). To change this behavior set the AllowCloneWhenModified property to true.

See Also