Back to Devexpress

XafApplication.GetObjectSpaceToShowDetailViewFrom(Frame, Type, TargetWindow) Method

expressappframework-devexpress-dot-expressapp-dot-xafapplication-dot-getobjectspacetoshowdetailviewfrom-x28-devexpress-dot-expressapp-dot-frame-system-dot-type-devexpress-dot-expressapp-dot-targetwindow-x29.md

latest3.4 KB
Original Source

XafApplication.GetObjectSpaceToShowDetailViewFrom(Frame, Type, TargetWindow) Method

Returns an Object Space in which a Detail View should be created.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual IObjectSpace GetObjectSpaceToShowDetailViewFrom(
    Frame sourceFrame,
    Type objectType,
    TargetWindow targetWindow
)
vb
Public Overridable Function GetObjectSpaceToShowDetailViewFrom(
    sourceFrame As Frame,
    objectType As Type,
    targetWindow As TargetWindow
) As IObjectSpace

Parameters

NameTypeDescription
sourceFrameFrame

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

TypeDescription
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.

XAF_Non-Persistent-Objects-Nested-In-Persistent-Objects-Demo/CS/XPO/NonPersistentDemo/NonPersistentDemo.Blazor.Server/BlazorApplication.cs#L30

csharp
}
    return base.GetObjectSpaceToShowDetailViewFrom(sourceFrame, objectType, targetWindow);
}

See Also

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace