Syncfusion Item Templates for Windows Forms
3 Feb 2021 / 4 minutes to read
The Syncfusion Item Templates Add new item feature provides support to Windows Forms platform.
The Syncfusion Windows Forms item templates are available from v220.127.116.11.
Using Syncfusion Item Template Gallery
Follow the given steps to add the Syncfusion item in Visual Studio:
Before use the Syncfusion WinForms Item Template, check whether the WinForms Extensions - Syncfusion installed or not in Visual Studio Extension Manager by clicking on the Tools -> Extensions and Updates -> Installed for Visual Studio 2017 or lower and for Visual Studio 2019 by clicking on the Extensions -> Manage Extensions -> Installed.
- Open a new or existing Windows Forms application.
Right-click on the Windows Forms Project from the Solution Explorer. Select the Add Syncfusion Item New Item… option. Refer to the following screenshot for more information.
Now, the Syncfusion Item Template Gallery window will open.
Select the required assembly location, version, and themes or Form from the Syncfusion Item Template Gallery.
Assembly From: Choose the assembly location, from where the assembly is added to the project.
Installed location and GAC option will be available only when the Syncfusion Essential Windows Forms setup has been installed. You can use NuGet option without installing the Syncfusion Essential Windows Forms setup. If you add the Syncfusion item files in .NET Core Windows Forms application, GAC option will not be listed in the Assembly From option.
Version: Choose the build version to add the corresponding version assemblies to the project.
Version option will be available only when you install the Syncfusion Essential Windows Forms setup and choose the assembly location as Installed Location or GAC.
Template Gallery: This part contains a set of Syncfusion Item Templates, and you can choose the Item Templates as required.
When Add button is clicked, then the selected item template is added to the project.
Then, the Syncfusion licensing registration required message box will be shown, if you installed the trial setup or NuGet packages since Syncfusion introduced the licensing system from 2018 Volume 2 (v18.104.22.168) Essential Studio release. Navigate to the help topic, which is shown in the licensing message box to generate and register the Syncfusion license key to your project. Refer to this blog post to learn more about the licensing changes introduced in Essential Studio.
Using Visual Studio Add new Item
Syncfusion Project Template can also be added from the Visual Studio Item Template.
To create a Syncfusion Windows Forms item template, follow either one of the options below:
Click Syncfusion Menu and choose Essential Studio for WinForms > Add Office2010Form… or any other Form in Visual Studio.
In Visual Studio 2019, Syncfusion menu available under Extension in Visual Studio menu.
Right-click the Windows Forms Project, select Add > New Item, and then navigate to Visual C# Items or VB Items > Syncfusion > Windows. Refer to the following screenshot for more information.
The Syncfusion Item Templates are available under the Syncfusion tab. It is available for both C# Items and VB Items.
Now the selected template is added to the project along with Syncfusion references.
Then, Syncfusion licensing registration required message box will be shown as follow, if you are installed the trial setup or NuGet packages since Syncfusion introduced the licensing system from 2018 Volume 2 (v22.214.171.124) Essential Studio release. Please navigate to the help topic which is shown in the licensing message box to generate and register the Syncfusion license key to your project. Refer to this blog post for understanding the licensing changes introduced in Essential Studio.