title | page_title | description | slug | tags | published | position |
---|---|---|---|---|---|---|
Visual Studio Templates |
Visual Studio Templates |
Visual Studio Templates |
visual-studio-templates |
visual,studio,templates |
true |
4 |
With the official Q1 2015 release of Telerik UI for WPF the [Project Configuration Wizard]({%slug radcontrols-for-wpf-vs-extensions-project-configuration%}) 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:
-
Outlook-Inspired Template (available with Q2 2015 release version)
-
Outlook-Inspired Mail Template (available with Q2 2015 release version)
-
Outlook-Inspired Calendar Template (available with Q2 2015 release version)
All the templates are prepared with the [Office 2013 theme]({%slug common-styling-appearance-office2013-theme%}) and use [Implicit Styles]({%slug styling-apperance-implicit-styles-overview%}).
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.
When creating new project, select the needed template as seen on Figure 1.
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
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
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]({%slug common-event-to-command-behavior%}). 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.
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
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
-
[Project Configuration Wizard]({%slug radcontrols-for-wpf-vs-extensions-project-configuration%})
-
[Office 2013 Theme]({%slug common-styling-appearance-office2013-theme%})