The requested page is not available for the requested platform. You are viewing the content for Default platform.

Template Gallery

  • 3 min to read

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....

OpenTemplateGallery

XAF project item templates are available in the XAF category.

Tutorial_EF_Lesson1_1

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

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:

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:

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:

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:

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