SelectionChangedEventArgs Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Controls
Provides data for the selection-changed event, identifying the previous and new selected indexes.
public class SelectionChangedEventArgs : EventArgs
Constructors
SelectionChangedEventArgs(int previousIndex, int newIndex)
public SelectionChangedEventArgs(int previousIndex, int newIndex)
Initializes a new instance of the SelectionChangedEventArgs class.
Fields
PreviousSelectedIndex
public readonly int PreviousSelectedIndex
The index that was selected before the change.
SelectedIndex
public readonly int SelectedIndex
The index that is selected after the change.