Visual Studio Templates
The Project Configuration Wizard provides few built in Visual Studio Templates. Now it is possible with just a few clicks to start building Windows inspired application. Currently you have the option to choose from the following templates:
All the templates are prepared with the Office 2013 theme and use Implicit Styles.
Since R2 2019 of Telerik UI for WPF, .NET versions of the Visual Studio Templates are available for C# with Visual Studio 2019 and later.
In this article you will find more information on how to create a project from one of the available templates as well as more details regarding what controls each template contains.
Getting Started
When creating new project, select the needed template as seen on Figure 1.
Figure 1: Select template
Word-Inspired Template
The Word-Inspired Template implements Word-like editing experience represented with the Telerik UI for WPF controls. It provides a complex integration of controls like RadRibbonWindow, RadRibbonView and RadRichTextBox in an already set up example. It also demonstrates the broad range of editing and formatting capabilities as well as built in specific features of these controls. In fact the Word-Inspired Template is almost identical to the RadRichTextBox' TelerikEditor example in our WPF demos, however it have been visually improved in order to look like the MS Word.
Figure 2: Word-Inspired Template
Excel-Inspired Template
The Excel-Inspired Template implements Excel-like editing experience represented with the Telerik UI for WPF controls. It provides a complex integration of controls like RadRibbonWindow, RadRibbonView and RadSpreadSheet in an already set up example. It also demonstrates the broad range of editing and formatting capabilities as well as built in specific features of these controls. In fact the Word-Inspired Template is almost identical to the RadSpreadSheet' Theming example in our WPF demos, however it have been visually improved in order to look like the MS Word.
Figure 3: Excel-Inspired Template
Outlook-Inspired Template
In this template we joined the powers of some of the most prominent controls in Telerik UI for WPF to create one of the most recognizable applications in the world – Microsoft Outlook. You can easily spot RadGridView, RadRichTextBox, RadScheduleView, RadDocking and RadCalendar how blend seamlessly. The Visual Studio template can be used for a quick start of any other business application. The Outlook-Inspired Template is built from two separate templates available in Visual Studio – Outlook-Inspired Mail Template and Outlook-Inspired Calendar Template. They are separated so you can use only the needed functionality in the cases in which you need only the email interface or the calendar one.
The template is designed with MVVM in mind which is why most of the events that are required in achieving its functionality are passed to the ViewModel via EventToCommandBehavior. There are a few scenarios which are not achievable via EventToCommandBehavior and they are left in the code behind of the MainView.
Full list of controls used in the Outlook-Inspired Template can be found below:
- EventToCommandBehavior
- RadBusyIndicator
- RadCalendar
- RadContextMenu
- RadDocking
- RadGridView
- RadOutlookBar
- RadRibbonWindow
- RadRibbonButton
- RadRibbonSplitButton
- RadRibbonTab
- RadRibbonComboBox
- RadRichTextBox
- RadRichTextBoxRibbonUI
- RadRichTextBoxStatusBar
- RadRadioButton
- RadScheduleView
You can see how the different parts of the template look like on Figure 4 and Figure 5.
Outlook-Inspired Mail Template
The Outlook-Inspired Mail Template can be used separately and it has been integrated as the mail part of the Outlook-Inspired Template. You can see it on Figure 4.
Figure 4: Outlook-Inspired Mail Template
Outlook-Inspired Calendar Template
The Outlook-Inspired Calendar Template can be used separately and it has been integrated as the calendar part of the Outlook-Inspired Template. You can see how the template looks like on Figure 5.
Figure 5: Outlook-Inspired Calendar Template