Class TreeGridSortColumnsChangedEventArgs
Provides data for the SortColumnsChanged event.
Inheritance
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class TreeGridSortColumnsChangedEventArgs : EventArgs
Remarks
This event is raised after the sort column descriptions have been changed in the SfTreeGrid. It is a notification event and is not cancelable.
Constructors
TreeGridSortColumnsChangedEventArgs(IList, IList, NotifyCollectionChangedAction)
Initializes a new instance of the TreeGridSortColumnsChangedEventArgs class.
Declaration
public TreeGridSortColumnsChangedEventArgs(IList addedItems, IList removedItems, NotifyCollectionChangedAction action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.IList | addedItems | The sort column descriptions being added. |
| System.Collections.IList | removedItems | The sort column descriptions being removed. |
| System.Collections.Specialized.NotifyCollectionChangedAction | action | The action that triggered the change. |
TreeGridSortColumnsChangedEventArgs(NotifyCollectionChangedEventArgs)
Initializes a new instance of the TreeGridSortColumnsChangedEventArgs class with the original System.Collections.Specialized.NotifyCollectionChangedEventArgs from the underlying collection.
Declaration
public TreeGridSortColumnsChangedEventArgs(NotifyCollectionChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The original collection-changed event args. |
Properties
Action
Gets the collection-changed action that raised the event.
Declaration
public NotifyCollectionChangedAction Action { get; }
Property Value
| Type |
|---|
| System.Collections.Specialized.NotifyCollectionChangedAction |
AddedItems
Gets the collection of SortColumnDescription items that were added to SortColumnDescriptions.
Declaration
public IList AddedItems { get; }
Property Value
| Type |
|---|
| System.Collections.IList |
RemovedItems
Gets the collection of SortColumnDescription items that were removed from SortColumnDescriptions.
Declaration
public IList RemovedItems { get; }
Property Value
| Type |
|---|
| System.Collections.IList |