Skip to main content
.NET 6.0+

XafApplication.GetObjectSpaceToShowDetailViewFrom(Frame, Type) 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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual IObjectSpace GetObjectSpaceToShowDetailViewFrom(
    Frame sourceFrame,
    Type objectType
)

Parameters

Name Type Description
sourceFrame Frame

A Frame from which the ShowView method will be invoked.

objectType Type

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

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.

See Also