Skip to main content

OnIndexesChanged Method

Called by OnSourceCollectionChanged(NotifyCollectionChangedEventArgs), detailing the indexes changed by the collection changing.

Definition

Namespace: Avalonia.Controls.Selection
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected virtual void OnIndexesChanged(
int shiftIndex,
int shiftDelta
)

Parameters

  Int32
The first index that was shifted.
  Int32
If positive, the number of items inserted, or if negative the number of items removed.

See Also

Reference

SelectionNodeBase(T) Class
Avalonia.Controls.Selection Namespace