Skip to main content
.NET 8.0+

CloneObjectViewController.AllowCloneWhenModified Property

Specifies whether to disable cloning when the current object has unsaved changes.

Namespace: DevExpress.ExpressApp.CloneObject

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

Declaration

[DefaultValue(false)]
public bool AllowCloneWhenModified { get; set; }

Property Value

Type Default Description
Boolean false

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

Remarks

The CloneObjectViewController.CloneObjectAction Action is disabled when the current object has unsaved changes. 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