Articles in this section
Category / Section

How to configure package source and install in Xamarin DataGrid?

6 mins read

The best practice to update Xamarin DataGrid controls in an existing project is by “configuring the NuGet packages”.

Configuring NuGet packages in Xamarin Studio:

To configure Syncfusion’s NuGet package in Xamarin Studio, follow the steps below:

  1. In the project, right-click on the Packages item and select Add Packages.

 C:\Users\suhasini.suresh\AppData\Local\Microsoft\Windows\INetCacheContent.Word\Screen Shot 2017-02-14 at 9.37.06 AM.PNGCaption

 

  1. The Add Packages dialog box appears on the screen. Select Configure Sources, on the drop-down box that appears in the left corner of the dialog box.

 

select Configure source

  1. The Preferences dialog box now appears on the screen. Click the Add button, and a pop-up window appears on the screen.
  2. Provide the following credentials:

Name: Give a name to the NuGet Package (e.g., Syncfusion Nuget)

Add nuget source

 

  1. Click Add Source and then Ok button.

 

To install the Syncfusion controls from the Syncfusion’s NuGet package in Xamarin Studio, follow the steps below:

  1. In the project, right-click on the Packages item, select Add Packages, and the Add Packages dialog box appears on the screen.
  2. Select Syncfusion Nuget, on the drop-down box that appears in the left corner of the dialog box.

Select package

 

  1. Select the required Syncfusion components and then click the Add Package button.

 

Configuring NuGet packages in Visual Studio:

To configure the Syncfusion’s NuGet package in Visual Studio, follow the steps below:

  1. In Visual Studio, select Tools -> NuGet Package Manager -> Package Manager Settings, and the Options dialog box appears on the screen.

select Package Manage settings

  1. Select NuGet Package Manager -> Package Sources, and then click the Add button to add a NuGet Package.
  2. A new package will be added. Give the following credentials to the newly added package:

Name: Give a name to the NuGet Package (e.g., Syncfusion Components)

  1. Click the Ok button, and the Syncfusion NuGet package will be successfully created for the Visual Studio.

Add package source

 

To install the Syncfusion controls from the Syncfusion’s NuGet package in Visual Studio, follow the steps below:

  1. Once the NuGet package is configured, the controls can be installed to the project, right-click on the project, Select Manage NuGet Packages, and the NuGet window will appear on the screen.
  2. In the Package source, choose Syncfusion Components, and under the Browse tab, the list of Syncfusion controls will be available. Select the required control and click the Install button.

install required package by clicking install button

 

Please refer to this document for how to install the Syncfusion Custom Patch NuGet.


Conclusion

I hope you enjoyed learning about how to configure package source and install in Xamarin DataGrid.

You can refer to our  Xamarin.Forms DataGrid feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to create and manipulate data.

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 forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied