CloneObjectViewController Class
A ViewController descendant that contains the Clone action.
Namespace: DevExpress.ExpressApp.CloneObject
Assembly: DevExpress.ExpressApp.CloneObject.Xpo.v24.1.dll
NuGet Package: DevExpress.ExpressApp.CloneObject.Xpo
Declaration
Remarks
The CloneObjectViewController Controller is provided by the Clone Object Module. It is activated for List and Detail Views.
The Clone Action, targeted for cloning the currently selected object and provided with this Controller, is exposed via the CloneObjectViewController.CloneObjectAction property. Refer to this property description for details on how this Action works and how it can be customized.
Additionally, you can subscribe to events exposed by the CloneObjectViewController to perform the following customizations:
- CloneObjectViewController.CustomCloneObject - to implement custom cloning logic;
- CloneObjectViewController.CustomGetCloneActionTargetTypes - to use the custom list of target types available via the CloneObject action;
- CloneObjectViewController.CustomShowClonedObject - to implement the custom code to be executed before, or instead of displaying the Detail View with the cloned object.
Refer to these event descriptions for details.