Show / Hide Table of Contents

Class SelectionChangedEventArgs

Provides data for the SelectionChanged event.

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
SelectionChangedEventArgs
Inherited Members
RoutedEventArgs.OriginalSource
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 Source

SelectionChangedEventArgs(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 Source

AddedItems

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source