Class SelectionChangedCommandContext
Provides context information for selection changed commands.
Inheritance
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView.Commands
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class SelectionChangedCommandContext : Object
Constructors
SelectionChangedCommandContext(NotifyCollectionChangedAction, IList, Int32, IList, Int32)
Initializes a new instance of the SelectionChangedCommandContext class.
Declaration
public SelectionChangedCommandContext(NotifyCollectionChangedAction action, IList newItems, int newStartingIndex, IList oldItems, int oldStartingIndex)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction
action
The action that caused the selection change. |
System.Collections.IList
newItems
The newly selected items. |
System.Int32
newStartingIndex
The starting index of the newly selected items. |
System.Collections.IList
oldItems
The previously selected items. |
System.Int32
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
System.Collections.Specialized.NotifyCollectionChangedAction
The collection changed action. |
NewItems
Gets the newly selected items.
Declaration
public IList NewItems { get; }
Property Value
System.Collections.IList
The collection of newly selected items. |
NewStartingIndex
Gets the starting index of the newly selected items.
Declaration
public int NewStartingIndex { get; }
Property Value
System.Int32
The starting index of new items. |
OldItems
Gets the previously selected items.
Declaration
public IList OldItems { get; }
Property Value
System.Collections.IList
The collection of previously selected items. |
OldStartingIndex
Gets the starting index of the previously selected items.
Declaration
public int OldStartingIndex { get; }
Property Value
System.Int32
The starting index of old items. |