Class GridSelectionChangedEventArgs
Provides data for the SelectionChanged event.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridSelectionChangedEventArgs : GridEventArgs
Remarks
This event occurs after the SelectionChanging event if that event is not canceled. It is raised only for keyboard and mouse interactions, and the AddedItems and RemovedItems collections report the items that were added to or removed from the current selection.
Constructors
GridSelectionChangedEventArgs(Object)
Initializes a new instance of the GridSelectionChangedEventArgs class.
Declaration
public GridSelectionChangedEventArgs(object originalSource)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | originalSource | The source of the event. |
Properties
AddedItems
Gets a list that contains the items that were added to the selection.
Declaration
public IList<object> AddedItems { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Object> | The list of items that were selected by the user. |
RemovedItems
Gets a list that contains the items that were removed from the selection.
Declaration
public IList<object> RemovedItems { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.Object> | The list of items that were unselected by the user. |