Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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