.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.CreateDetailView(Object, Boolean) Method

For internal use only. Use the CreateDetailView(IObjectSpace, Object, Boolean) overload instead.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[Browsable(false)]
public DetailView CreateDetailView(
    object obj,
    bool isRoot
)
<Browsable(False)>
Public Function CreateDetailView(
    obj As Object,
    isRoot As Boolean
) As DetailView
[Browsable(false)]
public DetailView CreateDetailView(
    object obj,
    bool isRoot
)
<Browsable(False)>
Public Function CreateDetailView(
    obj As Object,
    isRoot As Boolean
) As DetailView
[Browsable(false)]
public DetailView CreateDetailView(
    object obj,
    bool isRoot
)
<Browsable(False)>
Public Function CreateDetailView(
    obj As Object,
    isRoot As Boolean
) As DetailView

Parameters

Name Type Description
obj Object

An object whose Detail View will be created, and which will be passed to the DetailView.CurrentObject property. This object should support the IObjectSpaceLink interface. The Object Space specified by the IObjectSpaceLink.ObjectSpace property will be assigned to View.ObjectSpace.

isRoot Boolean

true, if the created Detail View is independent and owns the Object Space of the obj object; false, if the created Detail View is nested to another root View that owns the Object Space. This value is assigned to the View.IsRoot property.

Parameters

Name Type Description
obj Object

An object whose Detail View will be created, and which will be passed to the DetailView.CurrentObject property. This object should support the IObjectSpaceLink interface. The Object Space specified by the IObjectSpaceLink.ObjectSpace property will be assigned to View.ObjectSpace.

isRoot Boolean

true, if the created Detail View is independent and owns the Object Space of the obj object; false, if the created Detail View is nested to another root View that owns the Object Space. This value is assigned to the View.IsRoot property.

Parameters

Name Type Description
obj Object

An object whose Detail View will be created, and which will be passed to the DetailView.CurrentObject property. This object should support the IObjectSpaceLink interface. The Object Space specified by the IObjectSpaceLink.ObjectSpace property will be assigned to View.ObjectSpace.

isRoot Boolean

true, if the created Detail View is independent and owns the Object Space of the obj object; false, if the created Detail View is nested to another root View that owns the Object Space. This value is assigned to the View.IsRoot property.

Returns

Type Description
DetailView

A Detail View of the object passed as the obj parameter.

Returns

Type Description
DetailView

A Detail View of the object passed as the obj parameter.

Returns

Type Description
DetailView

A Detail View of the object passed as the obj parameter.

See Also