The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll

Declaration

public virtual IObjectSpace GetObjectSpaceToShowDetailViewFrom(
    Frame sourceFrame,
    Type objectType
)
Public Overridable Function GetObjectSpaceToShowDetailViewFrom(
    sourceFrame As Frame,
    objectType As Type
) As IObjectSpace

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