menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IItemsSourceSelector - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IItemsSourceSelector

    Provides support to get IEnumerable ItemsSource of the record from the DataContext.

    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public interface IItemsSourceSelector
    Remarks

    It can be used to get different Itemssource for each row in GridComboBoxColumn/GridPickerColumn.

    Methods

    GetItemsSource(Object, Object)

    To get the itemsSource for a specific row data.

    Declaration
    IEnumerable GetItemsSource(object record, object dataContext)
    Parameters
    Type Name Description
    System.Object record

    The record having current row data.

    System.Object dataContext

    The binding context.

    Returns
    Type Description
    System.Collections.IEnumerable

    To return a IEnumerable collection.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved