.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.CreateWindow(TemplateContext, ICollection<Controller>, Boolean) Method

Creates a new Window.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public Window CreateWindow(
    TemplateContext context,
    ICollection<Controller> controllers,
    bool isMain
)
Public Function CreateWindow(
    context As TemplateContext,
    controllers As ICollection(Of Controller),
    isMain As Boolean
) As Window
public Window CreateWindow(
    TemplateContext context,
    ICollection<Controller> controllers,
    bool isMain
)
Public Function CreateWindow(
    context As TemplateContext,
    controllers As ICollection(Of Controller),
    isMain As Boolean
) As Window
public Window CreateWindow(
    TemplateContext context,
    ICollection<Controller> controllers,
    bool isMain
)
Public Function CreateWindow(
    context As TemplateContext,
    controllers As ICollection(Of Controller),
    isMain As Boolean
) As Window

Parameters

Name Type Description
context TemplateContext

A TemplateContext instance specifying the template context for the new Window. This parameter value is assigned to the Frame.Context property.

controllers ICollection<Controller>

An ICollection<Controller> collection that contains the additional Controllers that must be activated for the new Window.

isMain Boolean

true if the newly created Window is main; otherwise, false.

Parameters

Name Type Description
context TemplateContext

A TemplateContext instance specifying the template context for the new Window. This parameter value is assigned to the Frame.Context property.

controllers ICollection<Controller>

An ICollection<Controller> collection that contains the additional Controllers that must be activated for the new Window.

isMain Boolean

true if the newly created Window is main; otherwise, false.

Parameters

Name Type Description
context TemplateContext

A TemplateContext instance specifying the template context for the new Window. This parameter value is assigned to the Frame.Context property.

controllers ICollection<Controller>

An ICollection<Controller> collection that contains the additional Controllers that must be activated for the new Window.

isMain Boolean

true if the newly created Window is main; otherwise, false.

Returns

Type Description
Window

The created Window.

Returns

Type Description
Window

The created Window.

Returns

Type Description
Window

The created Window.

Remarks

This method is intended for internal use.

See Also