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.v21.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
TemplateContext | A TemplateContext object that represents the popup window’s context. |
Remarks
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.