Class GridSortColumnsChangedEventArgs
Provides data for SortColumnsChanged event.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public sealed class GridSortColumnsChangedEventArgs : GridEventArgs
Constructors
GridSortColumnsChangedEventArgs(IList<SortColumnDescription>, IList<SortColumnDescription>, NotifyCollectionChangedAction, Object)
Initializes a new instance of GridSortColumnsChangedEventArgs class.
Declaration
public GridSortColumnsChangedEventArgs(IList<SortColumnDescription> addedItems, IList<SortColumnDescription> removedItems, NotifyCollectionChangedAction action, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<SortColumnDescription> | addedItems | The list of items that were sorted in view. |
System.Collections.Generic.IList<SortColumnDescription> | removedItems | The list of items that were unsorted in view. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | Indicates the corresponding collection changed actions performed on the data. |
System.Object | originalSource | The source of the event. |
Properties
Action
Gets the corresponding collection changed actions performed during sorting operation.
Declaration
public NotifyCollectionChangedAction Action { get; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NotifyCollectionChangedAction | One of the System.Collections.Specialized.NotifyCollectionChangedAction performed during sorting operation. |
AddedItems
Gets the list of SortColumnDescription that were sorted in view.
Declaration
public IList<SortColumnDescription> AddedItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SortColumnDescription> | The list of SortColumnDescription collection that were sorted in view. |
RemovedItems
Gets the list of SortColumnDescription that were unsorted in view.
Declaration
public IList<SortColumnDescription> RemovedItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SortColumnDescription> | The list of SortColumnDescription collection that were unsorted in view. |