Templates define what Windows and Frames look like. For instance, built-in Templates contain Action Containers and a View site. When you build an application, ready-to-use Templates help you concentrate on the business model and logic, instead of having to create a UI from scratch. If necessary, you can customize the default Templates or replace them with your own. This topic describes the built-in Template types. Refer to the Template Customization topic to learn how to customize the default Templates.
A Template is a control that implements the IFrameTemplate or IWindowTemplate interface. These interfaces provide methods that specify a Template's Action Containers collection, and assign a View to be displayed. The IWindowTemplate interface is inherited from the IFrameTemplate interface. The difference is that the IWindowTemplate interface additionally provides a store for status messages, a Template's caption and a flag indicating whether or not it should be sizeable. This means that a Template that implements the IWindowTemplate interface behaves like a standard form.
The controls that are used to display List and Detail Views support end-user customization. For instance, in WinForms applications, end-users can customize the layout of toolbars, columns in grid controls, controls in detail forms, etc. All built-in Windows Forms Templates are designed to save these end-user customizations to the Application Model, so changes made will persist between application runs.
The eXpressApp Framework uses built-in Templates for automatic UI construction in WinForms, ASP.NET Web and Mobile applications. These Templates are listed below.
Used to display the main Window with the Outlook form style. To use this template, apply settings as the IModelRootGroupsStyle.RootGroupsStyle article describes, and set the RootGroupStyle property to OutlookSimple or OutlookAnimated.
Can be used to display the main Window and Detail View Windows (both in view and edit modes). This Template is the main window's standard template with the vertical navigation bar. To learn how to use this template, refer to the ASP.NET Web Application Appearance topic.
Used to display the main Window and Detail View Windows (both in view and edit modes). This Template is an optional template that has horizontally aligned navigation tabs that conserve the main window's space.