Class GridItemsSourceChangedEventArgs
Provides data for ItemsSourceChanged event.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridItemsSourceChangedEventArgs : GridEventArgs
Constructors
GridItemsSourceChangedEventArgs(Object, Object, Object, ICollectionViewAdv, ICollectionViewAdv)
Initializes a new instance of GridItemsSourceChangedEventArgs class.
Declaration
public GridItemsSourceChangedEventArgs(object originalSource, object oldItemsSource, object newItemsSource, ICollectionViewAdv oldView, ICollectionViewAdv newView)
Parameters
Type | Name | Description |
---|---|---|
System.Object | originalSource | The source of the event. |
System.Object | oldItemsSource | The old ItemsSource of the SfDataGrid. |
System.Object | newItemsSource | The new ItemsSource of the SfDataGrid. |
ICollectionViewAdv | oldView | The old View of the SfDataGrid. |
ICollectionViewAdv | newView | The new View of the SfDataGrid. |
Properties
NewItemsSource
Gets the new ItemsSource of SfDataGrid.
Declaration
public object NewItemsSource { get; }
Property Value
Type | Description |
---|---|
System.Object | An object that contains the new ItemsSource of SfDataGrid. |
NewView
Gets the new View of SfDataGrid.
Declaration
public ICollectionViewAdv NewView { get; }
Property Value
Type | Description |
---|---|
ICollectionViewAdv | An object that contains the new View of SfDataGrid. |
OldItemsSource
Gets an old ItemsSource of SfDataGrid that is need to be replaced.
Declaration
public object OldItemsSource { get; }
Property Value
Type | Description |
---|---|
System.Object | An object that contains the old ItemsSource of SfDataGrid. |
OldView
Gets the old View of SfDataGrid.
Declaration
public ICollectionViewAdv OldView { get; }
Property Value
Type | Description |
---|---|
ICollectionViewAdv | An object that contains the old View of SfDataGrid. |