Skip to main content
.NET Framework 4.5.2+

XafApplication.GetObjectSpaceToShowDetailViewFrom(Frame, Type, TargetWindow) Method

Returns an Object Space in which a Detail View should be created to be displayed via the ShowViewStrategyBase.ShowView method.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public virtual IObjectSpace GetObjectSpaceToShowDetailViewFrom(
    Frame sourceFrame,
    Type objectType,
    TargetWindow targetWindow
)

Parameters

Name Type Description
sourceFrame Frame

A Frame from which the ShowView method will be invoked.

objectType Type

A Type object that is a type of object that will be supported by an Object Space.

targetWindow TargetWindow

Returns

Type Description
IObjectSpace

An IObjectSpace object representing the Object Space in which a Detail View should be created to be displayed via the ShowView method.

Remarks

This method is used internally in XAF, and is not intended to be called from your code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetObjectSpaceToShowDetailViewFrom(Frame, Type, TargetWindow) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also