DetailViewCreatingEventArgs(String, IObjectSpace, Object, Boolean) Constructor

Initializes a new instance of the DetailViewCreatingEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public DetailViewCreatingEventArgs(
    string viewID,
    IObjectSpace objectSpace,
    object obj,
    bool isRoot
)
Public Sub New(
    viewID As String,
    objectSpace As IObjectSpace,
    obj As Object,
    isRoot As Boolean
)

Parameters

Type Name Description
String viewID

A string value that represents the ID of the Detail View to be created.

IObjectSpace objectSpace

An IObjectSpace object representing the Object Space that will work with the new Detail View's object.

Object obj

An object that will be represented by the new Detail View.

Boolean isRoot

true if the new Detail View will be root; otherwise, false.

Since instances of the DetailViewCreatingEventArgs class are automatically created and passed to handlers of the XafApplication.DetailViewCreating event, you do not need to call this constructor from your applications.

See Also