CloneObjectViewController Class
A ViewController descendant that contains the Clone action.
Namespace: DevExpress.ExpressApp.CloneObject
Assembly: DevExpress.ExpressApp.CloneObject.v25.1.dll
NuGet Package: DevExpress.ExpressApp.CloneObject
Declaration
Remarks
the Clone Object Module provides the CloneObjectViewController
Controller. This Controller is active for List and Detail Views.
To access the Clone Action used to clone the currently selected object, use the CloneObjectViewController.CloneObjectAction property. For more information on how this Action works and how it can be customized, refer to the property’s description.
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.
For more information, refer to the corresponding event description.