Skip to main content
.NET 8.0+

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

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.Xpo.v24.2.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

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