The Xceed Component Installer will copy all the necessary files into the product's installation folder as well as place a copy of the Xceed Grid for WinForms assemblies in the global assembly cache. The only things left to do in order to begin using Xceed Grid for WinForms is to reference the assembly in your project or add the control to your toolbox and make sure the component is properly licensed for runtime use.
To add the control to your toolbox , the following steps must be taken :
Select the toolbox tab where you would like Xceed Grid for WinForms to be.
Right click on the toolbox and select the "Choose Items..." option. This should launch the "Choose Toolbox Items" dialog.
Select the ".NET Framework Components" tab and select the "GridControl" component. If the component does not appear in the list, reinstall the product.
Click on the "OK" button.
Add the control to your form and start creating your grid!
To add a reference to the assembly in your project, the following steps must be taken:
Select the "Add Reference" option from your "Project" menu. This can also be done by right-clicking on the "References" menu in the "Solution Explorer" and selecting the "Add Reference" option.
In the "Add Reference" dialog, select the ".NET" tab
Select the assemblies from the list of available components and click on the "Select" button. If the component does not appear in the list, reinstall the product.
Click on the "OK" button.
You can then use the using directive to create aliases for existing namespaces, and avoid having to type the fully qualified type names.
C# | Copy Code |
---|---|
using Xceed.Grid; |
Finally, make sure that the component is licensed properly for runtime use.