Skip to main content
.NET 8.0+

XafApplication.CreateDetailView(Object, Boolean) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Browsable(false)]
public DetailView CreateDetailView(
    object obj,
    bool isRoot
)

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.

See Also