Skip to main content

SelectionModelSelectionChangedEventArgs<T> Class

Definition​

Assembly:Avalonia.Controls
Package:Avalonia
public class SelectionModelSelectionChangedEventArgs<T>

Inheritance: EventArgs -> SelectionModelSelectionChangedEventArgs -> SelectionModelSelectionChangedEventArgs<T>

Constructors​

NameDescription
SelectionModelSelectionChangedEventArgs<T>No summary available.

SelectionModelSelectionChangedEventArgs<T> Constructor​

public SelectionModelSelectionChangedEventArgs<T>(System.Collections.Generic.IReadOnlyList<int> deselectedIndices, System.Collections.Generic.IReadOnlyList<int> selectedIndices, System.Collections.Generic.IReadOnlyList<T> deselectedItems, System.Collections.Generic.IReadOnlyList<T> selectedItems)

Parameters​

deselectedIndices System.Collections.Generic.IReadOnlyList<int>

selectedIndices System.Collections.Generic.IReadOnlyList<int>

deselectedItems System.Collections.Generic.IReadOnlyList<T>

selectedItems System.Collections.Generic.IReadOnlyList<T>

Properties​

NameDescription
DeselectedIndexesGets the indexes of the items that were removed from the selection.
DeselectedItemsGets the items that were removed from the selection.
SelectedIndexesGets the indexes of the items that were added to the selection.
SelectedItemsGets the items that were added to the selection.

DeselectedIndexes Property​

Gets the indexes of the items that were removed from the selection.

public System.Collections.Generic.IReadOnlyList<int> DeselectedIndexes { get; set; }

DeselectedItems Property​

Gets the items that were removed from the selection.

public System.Collections.Generic.IReadOnlyList<T> DeselectedItems { get; set; }

SelectedIndexes Property​

Gets the indexes of the items that were added to the selection.

public System.Collections.Generic.IReadOnlyList<int> SelectedIndexes { get; set; }

SelectedItems Property​

Gets the items that were added to the selection.

public System.Collections.Generic.IReadOnlyList<T> SelectedItems { get; set; }