Interface IItemsSourceSelector
Provides support to get IEnumerable ItemsSource of the record from the DataContext
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.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. |