menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridItemsSourceChangedEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridItemsSourceChangedEventArgs

    Provides data for ItemsSourceChanged event.

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    GridItemsSourceChangedEventArgs
    Inherited Members
    GridEventArgs.OriginalSender
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.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.

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