We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to use Template 10 templates with Syncfusion controls.

This article describes about how to use Syncfusion controls in Template 10 Templates.

Template 10 Templates.

Templates

Default

Hamburger

Minimal

 

Files created by default

App.xaml 

MainPage.xaml/cs 

MainPageViewModel.cs 

Custom.xaml 

Shell.xaml 

App.xaml 

MainPage.xaml/cs 

MainPageViewModel.cs 

Custom.xaml  

App.xaml 

MainPage.xaml/cs 

MainPageViewModel.cs 

Custom.xaml 

 

 

These templates can be used for traditional MVVM binding support by the help of MainPageViewModel. Also, default style of our control can be overridden by adding our style in Custom.xaml resource dictionary.  

System Requirement:

Need to Install Template 10 Template package. Please find the Package from link.

Link: https://marketplace.visualstudio.com/search?term=tag%3Auwp&target=VS&category=All%20categories&vsVersion=&sortBy=Downloads

Below steps explained, how to add Syncfusion controls in Template 10 Templates.

  1. Run the VisualStudio Application and create new project.
  2. Select Template 10 Template and choose any one template then create simple Application.
  3. Add corresponding Syncfusion Assemblies in created application.
  4. Add required view in MainPage.xaml file. Here below code example explains how to add Syncfusion controls inside the MainPage.xaml file.

XAML

 

  1. Default style our control can be overridden by adding our style in Custom.xaml resource dictionar. Below code example explains how to override the SfTabItem style.

XAML

 

  1. Below code example explains how to populate items for control to DataBinding.

C#

 

 

  1. Refer the output image from below.

Article ID: Published Date: Last Revised Date: Platform: Control:
7767 06/16/2017 06/16/2017 UWP General
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.