Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

WinApplication.UseOldTemplates Property

Replaces old templates (MainForm and DetailForm) with new templates in WinForms applications (v14.2+).

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v22.2.dll

NuGet Package: DevExpress.ExpressApp.Win

Declaration

[Browsable(false)]
[DefaultValue(true)]
public bool UseOldTemplates { get; set; }

Property Value

Type Default Description
Boolean true

false, if an XAF WinForms application uses new templates; otherwise, true

Remarks

The Solution Wizard enables new templates for all XAF WinForms applications created in v14.2 or later. We recommend using new templates when possible. We no longer fix bugs and develop new features for old templates.

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