[Back to home](Home) | [Back to Reference](Reference) | [View raw text](GeneratedDocs/CollectionSelectionChangedEventArgs.md) # CollectionSelectionChangedEventArgs `class` ## Description A non-generic version of SelectionChangedEventArgs. This can be more generally used in other situations, and implemented by ISelectableCollection. ## Diagram ```mermaid flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph SolidShineUi SolidShineUi.CollectionSelectionChangedEventArgs[[CollectionSelectionChangedEventArgs]] end subgraph System System.EventArgs[[EventArgs]] end System.EventArgs --> SolidShineUi.CollectionSelectionChangedEventArgs ``` ## Members ### Properties #### Public properties | Type | Name | Methods | | --- | --- | --- | | `IEnumerable` | [`AddedItems`](#addeditems)
The list of items being added to the selection ("selected"). | `get` | | `IEnumerable` | [`RemovedItems`](#removeditems)
The list of items being removed from the selection ("deselected"). | `get` | ## Details ### Summary A non-generic version of SelectionChangedEventArgs. This can be more generally used in other situations, and implemented by ISelectableCollection. ### Inheritance - `EventArgs` ### Constructors #### CollectionSelectionChangedEventArgs ```csharp public CollectionSelectionChangedEventArgs(IEnumerable removedItems, IEnumerable addedItems) ``` ##### Arguments | Type | Name | Description | | --- | --- | --- | | `IEnumerable` | removedItems | The list of items to be removed. | | `IEnumerable` | addedItems | The list of items to be added. | ##### Summary Create a SelectionChangedEventArgs. ### Properties #### AddedItems ```csharp public IEnumerable AddedItems { get; } ``` ##### Summary The list of items being added to the selection ("selected"). #### RemovedItems ```csharp public IEnumerable RemovedItems { get; } ``` ##### Summary The list of items being removed from the selection ("deselected"). ### Delegates #### SelectionChangedEventHandler ```csharp public delegate void SelectionChangedEventHandler(object sender, CollectionSelectionChangedEventArgs e) ``` ##### Arguments | Type | Name | Description | | --- | --- | --- | | `object` | sender | | | [`CollectionSelectionChangedEventArgs`](CollectionSelectionChangedEventArgs) | e | | *Generated with* [*ModularDoc*](https://github.com/hailstorm75/ModularDoc)