Class DataGridSortColumnsChangingEventArgs
Provides data for the SortColumnsChanging event.
Inheritance
System.Object
DataGridSortColumnsChangingEventArgs
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public sealed class DataGridSortColumnsChangingEventArgs : CancelEventArgs
Constructors
DataGridSortColumnsChangingEventArgs(IList<SortColumnDescription>, IList<SortColumnDescription>, NotifyCollectionChangedAction)
Initializes a new instance of the
Declaration
public DataGridSortColumnsChangingEventArgs(IList<SortColumnDescription> addedItems, IList<SortColumnDescription> removedItems, NotifyCollectionChangedAction action)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<SortColumnDescription> | addedItems | The collection of new added columns in sorting. |
System.Collections.Generic.IList<SortColumnDescription> | removedItems | The collection of columns which are removed from sorting. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | The collection changed action i.e. whether an item is added, removed, replaced, reset or moved in the collection. |
Properties
Action
Gets the collection changed action i.e. whether an item is added, removed, replaced, reset or moved in the collection.
Declaration
public NotifyCollectionChangedAction Action { get; }
Property Value
Type |
---|
System.Collections.Specialized.NotifyCollectionChangedAction |
AddedItems
Gets a list that contains the items that were sorted.
Declaration
public IList<SortColumnDescription> AddedItems { get; }
Property Value
Type |
---|
System.Collections.Generic.IList<SortColumnDescription> |
RemovedItems
Gets a list that contains the items that were unsorted.
Declaration
public IList<SortColumnDescription> RemovedItems { get; }
Property Value
Type |
---|
System.Collections.Generic.IList<SortColumnDescription> |