How to add Syncfusion WinForms Controls from toolbox in .NET Core project?
Currently, Syncfusion WinForms controls does not contain toolbox and designer support for .Net core projects (e.g., .NET 6.0, .NET 7.0, and .NET 8.0). However, Syncfusion offers toolbox support for its controls through the Syncfusion NuGet packages. This article guides you on how to include Syncfusion controls in your .NET applications using NuGet packages.
Each control has its specific NuGet package that must be installed to be used within your application. For instance, if you want to use the SfDataGrid control, you will need to install the Syncfusion.SfDataGrid.WinForms package.
Steps to Install a Syncfusion NuGet Package:
- Open your project in Visual Studio.
- Go to the Tools menu, select NuGet Package Manager, and then choose Manage NuGet Packages for Solution…
- Click on the Browse tab and search for the specific Syncfusion package (e.g., Syncfusion.SfDataGrid.WinForms).
- Select the package from the list and choose the project to which you want to add the control.
- Click on the Install button to add the package to your project.
- Click on the Designer page
- Click on the Toolbox
- Search the control (e.g., SfDataGrid) and drag to add into the Designer
Control Dependencies
Each Syncfusion control may have dependencies on other libraries or components. It is crucial to understand these dependencies to ensure seamless integration and functionality of the controls within your application. Take a moment to peruse the Windows Forms Control Dependencies documentation, where you can find detailed information on control dependencies for Syncfusion WinForms controls.
View Sample in GitHub
Conclusion
I hope you enjoyed learning about how to add Syncfusion WinForms Controls from toolbox in .NET Core project.
You can refer to our WinForms feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!