[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Expand]Concepts
 [Collapse]Design-Time Features
   Solution Wizard
   Template Gallery
   Application Designer
   Module Designer
   Model Editor
   Model Merge Tool
   Update Model Command
   Localization Tool
   Designers Troubleshooting Guide
 [Expand]Deployment
 [Expand]Task-Based Help
  Frequently Asked Questions (FAQ)
 [Expand]API Reference
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Template Gallery

In addition to the Solution Wizard, XAF provides a number of Visual Studio project item templates available from the DevExpress Template Gallery. These project items are listed in this topic.

To open the Template Gallery, right click a project in the Solution Explorer and choose Add DevExpress Item | New Item....

XAF project item templates are available in the XAF category.

The table below lists XAF project item templates and their descriptions.

Expanded XAF Business Objects

XPO Business Object

Description: An XPO persistent class that inherits BaseObject, defines a business model and, consequently, the database structure and CRUD user interface.
Target ORM: XPO.
See also:

XPO Data Model Wizard

Description: Creates a designable data model mapped to an existing or newly created database. Created models include XPO classes and metadata.
Target ORM: XPO.
See also:

EF Business Object

Description: An Entity Framework Code First class that defines a business model and, consequently, the database structure and CRUD user interface. Unlike a regular Code First class, it supports interfaces that allow you to embed complex business logic in this class. This template does not patch the DbContext code, so do not forget to register the created class manually within the context.
Target ORM: EF.
See also:

Non-Persistent Object

Description: A class which is added to an XAF Application Model and participates in a UI generation, but not bound to a database table (non-persistent object).
Target ORMs: EF, XPO.
See also:

Report Parameters Object

Description: The non-persistent class that declares report parameters in Reports V2 Module.
Target ORMs: EF, XPO.
See also:

Expanded XAF Controllers

View Controller

Description: A component that inherits ViewController and implements a custom functionality for XAF Views.
Target ORMs: EF, XPO.
See also:

Window Controller

Description: A component that inherits WindowController and implements a custom functionality for XAF Windows.
Target ORMs: EF, XPO.
See also:

Expanded XAF WinForms Templates

Description: Project item templates for WinForms Templates customizations.
Target ORMs: EF, XPO.
Templates:

  • Light Style Main Form Template
  • Light Style Main Ribbon Form Template
  • Outlook Style Main Ribbon Form Template
  • Detail Form Template
  • Detail Ribbon Form Template
  • Popup Form Template
  • Nested Frame Template
  • Lookup Control Template
  • Lookup Form Template

See also:

Expanded XAF ASP.NET Templates

Description: Project item templates for ASP.NET Templates customizations.
Target ORMs: EF, XPO.
Templates:

  • Default Vertical Template Content
  • Dialog Template Content
  • Find Dialog Template Content
  • Logon Template Content
  • Nested Frame Control

See also:

Expanded Deprecated Templates

WinForms Templates

  • Main Form Template
  • Main Ribbon Form Template

ASP.NET Classic UI Templates

  • Default Template
  • Default Vertical Template
  • Dialog Template
  • Logon Template
  • Nested Frame Control

Is this topic helpful?​​​​​​​