A ViewController descendant that contains the Clone action.
public class CloneObjectViewController : ObjectViewController
Public Class CloneObjectViewController Inherits ObjectViewController
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.