We are glad to announce that the Syncfusion WPF item template support for Visual Studio is now available in our Essential Studio® 2021 Volume 1 release.
Syncfusion WPF item templates are designed to facilitate the seamless integration of Syncfusion WPF controls. With these, developers can effortlessly incorporate the required XAML files and assemblies for a Syncfusion control directly from the user interface. This streamlined approach enhances productivity and simplifies the development process, ensuring a smoother experience when building WPF apps with Syncfusion’s feature-rich components.
In this blog, we are going to explain how to install the Syncfusion WPF extensions and then add the Syncfusion WPF controls to your app with the new item template support.
The new WPF item template support is included in the Syncfusion WPF extensions. So, to use them, we should install the Syncfusion WPF extensions in Visual Studio.
Follow these steps to install the Syncfusion WPF extensions through the Visual Studio Manage Extensions dialog box:
Note: If you’re using Visual Studio 2017 or older, you have to navigate to Tools -> Extensions and Updates.
Follow these steps to install the Syncfusion WPF extensions from the Visual Studio Marketplace:
Follow these steps to use Syncfusion WPF item template support:
Note: In Visual Studio 2017 or older versions, the Syncfusion menu is directly in the Visual Studio menu.
S.No | Window type | Control | Window details |
1 | Select a Default window. If the Default window is selected, the Blank control option will not be enabled. | Select any control. Eg., DataGrid | The Default window item will be added to your app alongside the DataGrid control’s code snippet and features. |
2 | Select any window except Default. Eg., Chromeless Window | Select a Blank control. | The default Chromeless Window item will be added to your app. |
3 | Select any window except Default. Eg., Chromeless Window | Select any control. Eg., DataGrid | The Chromeless Window item will be added to your app alongside the DataGrid control’s code snippet and features. |
Select any option from the Select Window section to add the required window in your WPF app.
Note: In the Select Control section, the Blank control will be enabled only when a window other than the default is selected from the Select Window section.
Note: The Installed Location and GAC options will be displayed only when the Syncfusion Essential WPF build is installed. If the Syncfusion Essential WPF build is not installed, you can only use the NuGet option. When using the Syncfusion WPF window in a .NET Core app, the GAC option will not be available. By default, the Version dropdown lists only the installed WPF versions.
Follow these steps to run the application with the created Syncfusion WPF control:
Thanks for reading! In this blog, we have seen how to install the Syncfusion WPF extensions and add a WPF window with the new WPF item template support for Visual Studio. For more information, refer to our adding Syncfusion window to WPF app documentation. This feature is available in our 2021 Volume 1 release. You can also check out other new WPF features in our Release Notes and What’s New pages.
The Syncfusion WPF controls include over 100 modern UI controls for building beautiful, high-performance line-of-business WPF applications. Use them to boost your application development speed.
If you aren’t a Syncfusion customer yet, you can try our 30-day free trial to check out our wares. Also, we encourage you to try our samples available at this GitHub location.
If you wish to send us feedback, please use the comments section below. If you would like to submit any questions, please feel free to contact us through our support forum, support portal, or feedback portal. We are always happy to assist you!