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. Image for the cookie policy date


Hello there,

I was wondering why there isn't a TemplateHostViewRenderer for UWP in your EssentialUIKit demo project in github. You guys use a different method to display the respective Template Pages on UWP versus Android and iOS.

The logic is in TemplatePage.xaml.cs

  private void ListView_OnSelectionChanged(object sender, SelectedItemChangedEventArgs e)
            if (e.SelectedItem == null || this.isNavigationInQueue)

            this.isNavigationInQueue = true;

            if (Device.RuntimePlatform == "UWP")
                var assembly = typeof(App).GetTypeInfo().Assembly;
                Navigation.PushAsync(new TemplateHostPage(e.SelectedItem as Template));

I actually wanted to run everything through the TemplateHostPage and get the same effect as on Andoird and iOS with the navigational items. 
Is it possible to write a TemplateHostViewRenderer for UWP?

1 Reply

YP Yuvaraj Palanisamy Syncfusion Team December 31, 2019 09:06 AM UTC

Hi Mario, 
Thanks for contacting Syncfusion support. 
We have already implemented the TemplateHostViewRenderer support in Essential UI Kit UWP project and this will be included our upcoming release in GitHub repository. 
As of now, you can add the below file (TemplateHostViewRenderer.cs) manually in UWP project of your application to use this renderer. 
Once you have added the above file in your application, please use the below code for navigation. 

Navigation.PushAsync(new AppLayout.Views.TemplateHostPage(new Views.Forms.SignUpPage())); 

Please let us know if you have any concerns. 

Live Chat Icon For mobile
Up arrow icon