Back to Devexpress

WinApplication.UseOldTemplates Property

expressappframework-devexpress-dot-expressapp-dot-win-dot-winapplication.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design

Declaration

csharp
[Browsable(false)]
[DefaultValue(true)]
public bool UseOldTemplates { get; set; }
vb
<Browsable(False)>
<DefaultValue(True)>
Public Property UseOldTemplates As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Remarks

The Template Kit 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.

See Also

WinApplication Class

WinApplication Members

DevExpress.ExpressApp.Win Namespace