Back to Devexpress

TemplateContext.PopupWindow Property

expressappframework-devexpress-dot-expressapp-dot-templatecontext-f8a7262e.md

latest2.4 KB
Original Source

TemplateContext.PopupWindow Property

Represents the pop-up window Template context.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public static TemplateContext PopupWindow { get; }
vb
Public Shared ReadOnly Property PopupWindow As TemplateContext

Property Value

TypeDescription
TemplateContext

A TemplateContext object representing the pop-up window Template context.

|

Remarks

For a general description of Template contexts, refer to the TemplateContext structure description.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopupWindow property.

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-how-to-show-persistent-objects-in-a-non-persistent-objects-view/CS/EFCore/ComplexDialogEF/ComplexDialogEF.Module/Controllers/MyController.cs#L22

csharp
IObjectSpace os = Application.CreateObjectSpace(typeof(OrderTemplate));
e.Context = TemplateContext.PopupWindow;
var template = os.CreateObject<OrderTemplate>();

See Also

TemplateContext Struct

TemplateContext Members

DevExpress.ExpressApp Namespace