menu

WinUI

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

    Show / Hide Table of Contents

    Interface IItemsSourceSelector

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

    Namespace: Syncfusion.UI.Xaml.Grids
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public interface IItemsSourceSelector
    Remarks

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

    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 data 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