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

XafApplication.CreatePopupWindow(TemplateContext, String, Boolean, Controller[]) Method

Creates a new pop-up Window.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public Window CreatePopupWindow(
    TemplateContext context,
    string viewId,
    bool createAllControllers,
    params Controller[] controllers
)
Public Function CreatePopupWindow(
    context As TemplateContext,
    viewId As String,
    createAllControllers As Boolean,
    ParamArray controllers As Controller()
) As Window
public Window CreatePopupWindow(
    TemplateContext context,
    string viewId,
    bool createAllControllers,
    params Controller[] controllers
)
Public Function CreatePopupWindow(
    context As TemplateContext,
    viewId As String,
    createAllControllers As Boolean,
    ParamArray controllers As Controller()
) As Window
public Window CreatePopupWindow(
    TemplateContext context,
    string viewId,
    bool createAllControllers,
    params Controller[] controllers
)
Public Function CreatePopupWindow(
    context As TemplateContext,
    viewId As String,
    createAllControllers As Boolean,
    ParamArray controllers As Controller()
) As Window

Parameters

Name Type Description
context TemplateContext

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

viewId String

The identifier of the View that will be displayed by the new pop-up Window.

createAllControllers Boolean

true if all Controllers from the Application Model must be created; otherwise, false.

controllers Controller[]

An array of Controller objects that contains the additional Controllers that must be activated for the new pop-up Window.

Parameters

Name Type Description
context TemplateContext

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

viewId String

The identifier of the View that will be displayed by the new pop-up Window.

createAllControllers Boolean

true if all Controllers from the Application Model must be created; otherwise, false.

controllers Controller[]

An array of Controller objects that contains the additional Controllers that must be activated for the new pop-up Window.

Parameters

Name Type Description
context TemplateContext

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

viewId String

The identifier of the View that will be displayed by the new pop-up Window.

createAllControllers Boolean

true if all Controllers from the Application Model must be created; otherwise, false.

controllers Controller[]

An array of Controller objects that contains the additional Controllers that must be activated for the new pop-up Window.

Returns

Type Description
Window

The created pop-up Window.

Returns

Type Description
Window

The created pop-up Window.

Returns

Type Description
Window

The created pop-up Window.

Remarks

This method is intended for internal use.

See Also