Skip to main content
.NET 6.0+

NestedFrame(XafApplication, TemplateContext, ViewItem, ICollection<Controller>) Constructor

Creates an instance of the NestedFrame class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public NestedFrame(
    XafApplication application,
    TemplateContext context,
    ViewItem viewItem,
    ICollection<Controller> controllers
)

Parameters

Name Type Description
application XafApplication

An XafApplication object that provides methods and properties to manage the current application.

context TemplateContext

A TemplateContext instance specifying the template context for the new nested Frame.

viewItem ViewItem

A ViewItem that will use the created nested Frame. This parameter value is assigned to the NestedFrame.ViewItem property.

controllers ICollection<Controller>

A ICollection<Controller> collection of Controllers that must be activated for the new nested Frame. This value is assigned to the Frame.Controllers property.

Remarks

If you need to create a new nested Frame, use the XafApplication.CreateNestedFrame method, rather than this constructor.

See Also