Binding The Itemssource From Viewmodel For The Picker Loaded Inside Template Column In Xamarin.Forms

Sample date Updated on Sep 30, 2025
datagrid mvvm xamarin xamarin-forms

Describes how to set the items source for a picker loaded inside a template column in Xamarin DataGrid (SfDataGrid)

Prerequisites

  • Visual Studio 2019 (Xamarin)

Requirements to run the sample

Refer to the following link for more details - System Requirements

How to run the sample

  1. Clone the sample and open it in Visual Studio.

    Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.

  2. Register your license key in the App.cs file as demonstrated in the following code.

     public App()
     {
         //Register Syncfusion license
         Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
    
         InitializeComponent();
     }
    

    Refer to this link for more details.

  3. Clean and build the application.

  4. Run the application.

License

Syncfusion has no liability for any damage or consequence that may arise from using or viewing the samples. The samples are for demonstrative purposes. If you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.

Up arrow