.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.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.v21.2.dll

Declaration

public TemplateContext Context { get; set; }

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Context 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.

See Also