ClassSelectionChangedCommandContext
Provides context information for selection changed commands.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.DataControls.ListView.Commands
Assembly:Telerik.Maui.Controls.Compatibility.dll
Syntax:
public class SelectionChangedCommandContext
Inheritance: objectSelectionChangedCommandContext
Constructors
SelectionChangedCommandContext(NotifyCollectionChangedAction, IList, int, IList, int)
Initializes a new instance of the SelectionChangedCommandContext class.
Declaration
public SelectionChangedCommandContext(NotifyCollectionChangedAction action, IList newItems, int newStartingIndex, IList oldItems, int oldStartingIndex)
Parameters
action
The action that caused the selection change.
newItems
The newly selected items.
newStartingIndex
The starting index of the newly selected items.
oldItems
The previously selected items.
oldStartingIndex
The starting index of the previously selected items.
Properties
Action
Gets the action that caused the selection change.
Declaration
public NotifyCollectionChangedAction Action { get; }
Property Value
The collection changed action.
NewItems
Gets the newly selected items.
Declaration
public IList NewItems { get; }
Property Value
The collection of newly selected items.
NewStartingIndex
Gets the starting index of the newly selected items.
Declaration
public int NewStartingIndex { get; }
Property Value
The starting index of new items.
OldItems
Gets the previously selected items.
Declaration
public IList OldItems { get; }
Property Value
The collection of previously selected items.
OldStartingIndex
Gets the starting index of the previously selected items.
Declaration
public int OldStartingIndex { get; }
Property Value
The starting index of old items.