Skip to main content
.NET 8.0+

CustomCloneObjectEventArgs(Object, Type, XafApplication, Frame, View) Constructor

Initializes a new instance of the CustomCloneObjectEventArgs class with specified settings.

Namespace: DevExpress.ExpressApp.CloneObject

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

Declaration

public CustomCloneObjectEventArgs(
    object sourceObject,
    Type targetType,
    XafApplication application,
    Frame frame,
    View view
)

Parameters

Name Type Description
sourceObject Object

The source object to be cloned.

targetType Type

The type of the target object.

application XafApplication

An XafApplication object that is the current application.

frame Frame

A Frame that displays an object to be cloned.

view View

A View that displays an object to be cloned.

Remarks

XAF automatically creates instances of the CustomCloneObjectEventArgs class and passes them to handlers of the CloneObjectViewController.CustomCloneObject event.

You do not need to call this constructor from your applications.

See Also