Class TreeGridSortColumnsChangedEventArgs
Provides data for the SortColumnsChanged event.
Inherited Members
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 |
|---|---|---|
| IList | addedItems | The sort column descriptions being added. |
| IList | removedItems | The sort column descriptions being removed. |
| NotifyCollectionChangedAction | action | The action that triggered the change. |
TreeGridSortColumnsChangedEventArgs(NotifyCollectionChangedEventArgs)
Initializes a new instance of the TreeGridSortColumnsChangedEventArgs class with the original NotifyCollectionChangedEventArgs from the underlying collection.
Declaration
public TreeGridSortColumnsChangedEventArgs(NotifyCollectionChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|
| NotifyCollectionChangedAction |
AddedItems
Gets the collection of SortColumnDescription items that were added to SortColumnDescriptions.
Declaration
public IList? AddedItems { get; }
Property Value
| Type |
|---|
| IList |
RemovedItems
Gets the collection of SortColumnDescription items that were removed from SortColumnDescriptions.
Declaration
public IList? RemovedItems { get; }
Property Value
| Type |
|---|
| IList |