Template Gallery
- 4 minutes to read
In addition to the Solution Wizard, XAF features 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….
The Template Gallery displays all the available project item templates.
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 Core 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 Core.
See also:
- IXafEntityObject
- IObjectSpaceLink
- The Importance of Property Change Notifications for Automatic UI Updates
Non-Persistent Object
Description: A class which is added to an XAF Application Model and affects UI generation, but not bound to a database table (non-persistent object).
Target ORMs: EF Core, XPO.
See also:
- How to: Display a List of Non-Persistent Objects in a Popup Dialog
- How to: Display a Non-Persistent Object’s Detail View from the Navigation
- How to: Display a Non-Persistent Object’s List View from the Navigation
- How to: Display Non-Persistent Objects in a Report
- How to: Perform CRUD Operations with Non-Persistent Objects
- How to: Show Persistent Objects in a Non-Persistent Object’s View
- The Importance of Property Change Notifications for Automatic UI Updates
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:
- ViewController
- Views
- Actions
- Add Actions (Menu Commands)
- Controllers
- Customize Controllers and Actions
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:
- Templates
- Template Customization
- How to: Create a Custom WinForms Ribbon Template
- How to: Create a Custom WinForms Standard Template
XAF ASP.NET Core Blazor Templates
Description: Project item templates for ASP.NET Core Blazor Templates customizations.
Target ORMs: EF Core, XPO.
Templates:
- Application Window Template
- Logon Window Template
- Popup Window Template
- Nested Frame Template
See also:
XAF ASP.NET Web Forms Templates
Description: Project item templates for ASP.NET Web Forms 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 Web Forms Classic UI Templates
- Default Template
- Default Vertical Template
- Dialog Template
- Logon Template
- Nested Frame Control