Skip to main content

SelectionChangedEventArgs Class

Definition​

Assembly:Avalonia.Controls
Package:Avalonia
public class SelectionChangedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> SelectionChangedEventArgs

Constructors​

NameDescription
SelectionChangedEventArgsInitializes 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​

NameDescription
AddedItemsGets the items that were added to the selection.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
RemovedItemsGets the items that were removed from the selection.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets 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; }