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

CustomizePopupWindowParamsEventArgs.Context Property

Specifies the Frame.Context of the pop-up window which is customized by a PopupWindowShowAction.CustomizePopupWindowParams event's handler.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v20.2.dll


public TemplateContext Context { get; set; }
Public Property Context As TemplateContext

Property Value

Type Description

A TemplateContext object that represents the popup window's context.


All windows are created in a particular context; for example, the main Window is created in the TemplateContext.ApplicationWindow context. In Windows Forms applications, a Template to be set to a Window is determined via the context. Use this property to get or set a context for the pop-up Window which is created for the parent CustomizePopupWindowParamsEventArgs.Action.

By default, the Context property is set to the TemplateContext.PopupWindow context when a Detail View is set for the created pop-up Window, and the TemplateContext.LookupWindow context when a List View is set for the pop-up Window.

See Also