Template Gallery
- 3 minutes 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….
XAF project item templates are available in the XAF category.
The table below lists XAF project item templates and their descriptions.
Template Name | Description | Target ORM(s) | See Also |
---|---|---|---|
XAF Business Object | XPO Business Object | An XPO persistent class that inherits BaseObject, defines a business model and, consequently, the database structure and CRUD user interface. | XPO | |
XAF Business Object | EF Business Object | 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. | EF | |
XAF Business Object | Non-Persistent Object | 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). | EF, XPO |
|
XAF Controllers | View Controller | A component that inherits ViewController and implements a custom functionality for XAF Views. | EF, XPO | |
XAF Controllers | Window Controller | A component that inherits WindowController and implements a custom functionality for XAF Windows. | EF, XPO | |
XAF WinForms Templates | Detail Form Template XAF WinForms Templates | Detail Ribbon Form Template XAF WinForms Templates | Lookup Control Template XAF WinForms Templates | Lookup Form Template XAF WinForms Templates | Main Form Template XAF WinForms Templates | Light Style Main Form XAF WinForms Templates | Main Ribbon Form Template XAF WinForms Templates | Light Style Main Ribbon Form XAF WinForms Templates | Outlook Style Main Ribbon Form Template XAF WinForms Templates | Nested Frame Template XAF WinForms Templates | Popup Form Template | Project item templates for WinForms Templates customizations. | EF, XPO | |
XAF ASP.NET New UI Templates | Default Vertical Template Content XAF ASP.NET New UI Templates | Dialog Template Content XAF ASP.NET New UI Templates | Find Dialog Template Content XAF ASP.NET New UI Templates | Logon Template Content XAF ASP.NET New UI Templates | Nested Frame Control XAF ASP.NET Classic UI Templates | Default Vertical Template Content XAF ASP.NET Classic UI Templates | Default Template Content XAF ASP.NET Classic UI Templates | Dialog Template Content XAF ASP.NET Classic UI Templates | Logon Template Content XAF ASP.NET Classic UI Templates | Nested Frame Control | Project item templates for ASP.NET Templates customizations. | EF, XPO | |
XAF Report V2 Parameters Object | Non-persistent classes that declare report parameters in the Reports V2 Module. | EF, XPO |