Skip to main content
All docs
V25.1
  • .NET 8.0+

    WinForms Application Templates

    • 2 minutes to read

    The XAF uses built-in Templates for automatic UI construction. The templates for WinForms applications are listed below.

    Templates

    LightStyleMainForm

    LightStyleMainForm

    Class: LightStyleMainForm

    Namespace: DevExpress.ExpressApp.Win.Templates.

    Displays the main Window without excessive borders. To use this template, set the IModelOptionsWin.FormStyle property to Standard and WinApplication.UseLightStyle to true.

    LightStyleMainRibbonForm

    LightStyleMainRibbonForm

    Class: LightStyleMainRibbonForm

    Namespace: DevExpress.ExpressApp.Win.Templates

    Displays the main Window with the Ribbon form style without excessive borders. To use this template, set the IModelOptionsWin.FormStyle property to Ribbon and WinApplication.UseLightStyle to true.

    OutlookStyleMainRibbonForm

    OutlookStyleMainRibbonForm

    Class: OutlookStyleMainRibbonForm

    Namespace: DevExpress.ExpressApp.Win.Templates.Ribbon

    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.

    DetailFormV2

    Contact_DetailView

    Class: DetailFormV2

    Namespace: DevExpress.ExpressApp.Win.Templates

    Displays a Detail View in a new Window. To use this template, set the IModelOptionsWin.FormStyle property to Standard.

    DetailRibbonFormV2

    DetailRibbonFormTemplate

    Class: DetailRibbonFormV2

    Namespace: DevExpress.ExpressApp.Win.Templates.Bars

    Displays a Detail View in a new Window with the Ribbon form style. To use this template, set the IModelOptionsWin.FormStyle property to Ribbon.

    PopupForm

    PopupFormTemplate

    Class: PopupForm

    Namespace: DevExpress.ExpressApp.Win.Templates

    Used to display pop-up windows with a Detail View. For instance, a logon form is displayed by the PopupForm Template.

    NestedFrameTemplateV2

    NestedFrameTemplate

    Class: NestedFrameTemplateV2

    Namespace: DevExpress.ExpressApp.Win.Templates

    Used to display a Window or Frame nested into another Window or Frame. For instance, a List Property Editor or Detail Property Editor’s window is displayed by the NestedFrameTemplateV2 Template.

    LookupForm

    LookupFormTemplate

    Class: LookupForm

    Namespace: DevExpress.ExpressApp.Win.Templates

    Used to display pop-up windows with a List View. For instance, PopupWindowShowAction type Actions use the LookupForm Template to display their pop-up window.

    LookupControlTemplate

    LookupControlTemplate

    Class: LookupControlTemplate

    Namespace: DevExpress.ExpressApp.Win.Templates

    Used to display a Lookup Property Editor’s drop down window.

    Deprecated Templates

    MainFormV2

    MainFormTemplate

    Class: MainFormV2

    Namespace: DevExpress.ExpressApp.Win.Templates

    Displays the main Window. To use this template, set the IModelOptionsWin.FormStyle property to Standard.

    MainRibbonFormV2

    MainRibbonFormV2

    Class: MainRibbonFormV2

    Namespace: DevExpress.ExpressApp.Win.Templates.Bars

    Displays the main Window with the Ribbon form style. To use this template, set the IModelOptionsWin.FormStyle property to Ribbon.

    Note

    Refer to the How to: Enable the Main Menu Bars or Ribbon in WinForms topic to learn how to toggle a Ribbon user interface in your WinForms application.

    How To’s