SelectionChangedEventArgs Class
Definition
Provides data for the Avalonia.Controls.Primitives.SelectingItemsControl.SelectionChanged event.
public class SelectionChangedEventArgs
Constructors
| Name | Description |
|---|---|
| SelectionChangedEventArgs | Initializes a new instance of the Avalonia.Controls.SelectionChangedEventArgs class. |
SelectionChangedEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.SelectionChangedEventArgs class.
public SelectionChangedEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent, System.Collections.IList removedItems, System.Collections.IList addedItems)
Parameters
routedEvent Avalonia.Interactivity.RoutedEvent
The event being raised.
removedItems System.Collections.IList
The items removed from the selection.
addedItems System.Collections.IList
The items added to the selection.
Properties
| Name | Description |
|---|---|
| AddedItems | Gets the items that were added to the selection. |
| RemovedItems | Gets the items that were removed from the selection. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets or sets the source object that raised the routed event. Inherited from RoutedEventArgs. |
AddedItems Property
Gets the items that were added to the selection.
public System.Collections.IList AddedItems { get; set; }
RemovedItems Property
Gets the items that were removed from the selection.
public System.Collections.IList RemovedItems { get; set; }