Class SelectionChangedEventArgs
Provides data for the SelectionChanged event.
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
public class SelectionChangedEventArgs : RoutedEventArgs
Constructors
| Improve this Doc View SourceSelectionChangedEventArgs(IList, IList)
Initializes a new instance of the SelectionChangedEventArgs class.
Declaration
public SelectionChangedEventArgs(IList removedItems, IList addedItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IList | removedItems | The items that were unselected. |
System.Collections.IList | addedItems | The items that were selected. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | removedItems or addedItems is null. |
Properties
| Improve this Doc View SourceAddedItems
Gets a list that contains the items that were unselected.
Declaration
public IList AddedItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.IList | The items that were unselected in this event. |
RemovedItems
Gets a list that contains the items that were selected.
Declaration
public IList RemovedItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.IList | The items that were selected in this event. |