Back to Devexpress

Add Data Grid to Xamarin.Forms Solution

mobilecontrols-400558-xamarin-forms-data-grid-add-grid-to-solution.md

latest1.2 KB
Original Source

Add Data Grid to Xamarin.Forms Solution

  • Dec 04, 2020
  • 3 minutes to read

This topic explains how to integrate the DevExpress Data Grid component into a Xamarin.Forms cross-platform solution.

Important

The DevExpress Data Grid for Xamarin.Forms component is available for iOS and Android platforms, and can be used in Xamarin.Forms solutions that use the .NET Standard code sharing strategy.

For the Android project, the Target Framework and Target Android version should be Android 10 (API level 29) or later.

  1. Add the DevExpress Data Grid component to your solution in one of the following ways:

  2. Select the d8 Dex compiler to build the Android project.

  3. Add the initialization code to your projects.

  4. Add the following namespace to the XAML markup or C# file in which you create a grid:

  5. Create a DataGridView instance in XAML markup or C# code:

The following section contains examples with instructions on how to bind a grid to a data source, specify grid columns, and manage data: Getting Started.