expressappframework-devexpress-dot-expressapp-dot-templatecontext.md
Represents the application window Template context.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public static TemplateContext ApplicationWindow { get; }
Public Shared ReadOnly Property ApplicationWindow As TemplateContext
| Type | Description |
|---|---|
| TemplateContext |
A TemplateContext object representing the application window Template context.
|
For a general description of Template contexts, refer to the TemplateContext structure description.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ApplicationWindow 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.
protected override IFrameTemplate CreateDefaultTemplate(TemplateContext context) {
if (context == TemplateContext.ApplicationWindow) {
return new CustomApplicationWindowTemplate() { AboutInfoString = AboutInfo.Instance.GetAboutInfoString(this) };
protected override IFrameTemplate CreateDefaultTemplate(TemplateContext context) {
if (context == TemplateContext.ApplicationWindow) {
return new CustomMainFormTemplate((IModelOptionsBlazor)Model.Options) { AboutInfoString = AboutInfo.Instance.GetAboutInfoString(this) };
base.OnActivated();
if(Frame.Context == TemplateContext.ApplicationWindow || Frame.Context == TemplateContext.View) {
showFilterDialogAction.Active[DisableReason] = true;
See Also