Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Collapse]Getting Started
     Lesson 1 - Create a Simple Rich Text Editor
     Lesson 2 - Create an Application Using the Template Gallery
     Lesson 3 - Create an Application Using the Instant Layout Assistant (for VS 2015 and earlier)
     Lesson 4 - Provide a Bar UI for a Rich Text Editor
     Lesson 5 - Create Separate Ribbon Pages for a Rich Text Editor
     Lesson 6 - Perform a Mail Merge
   [Expand]RichEditControl Document
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
    Traversing the Document
   [Expand]Visual Elements
    HTML Tag Support
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Lesson 2 - Create an Application Using the Template Gallery

This topic demonstrates how to create a simple application with the RichEditControl using the Template Gallery. The Template Gallery allows you to select the template for the application during the creation process of the project.

  1. Click FILE | New | Project... to invoke the New Project dialog. In the invoked New Project dialog, select the DevExpress v17.2 Template Gallery pattern, and click OK.

  2. Select The WPF platform and choose your preferred language. Then, select the MS Word Inspired Solution item in the WPF Business Solutions group, specify the project's name and click the Create Project button.

  3. Specify the application's theme. To do that, click the DXRibbonWindow's smart tag, and select the preferred theme form the AplicationTheme drop-down menu.

  4. Now run the application. As you can see, you now have a project containing the Rich Edit Control, Ribbon Control and two Layout Panels with Text Boxes in the Main Window.

Is this topic helpful?​​​​​​​