Class FortuneSelectionEventArgs
Provides data for fortune selection events.
public sealed class FortuneSelectionEventArgs : EventArgs
- Inheritance
-
FortuneSelectionEventArgs
- Inherited Members
Constructors
FortuneSelectionEventArgs(int, FortuneItem?)
Initializes a new instance of the FortuneSelectionEventArgs class.
public FortuneSelectionEventArgs(int selectedIndex, FortuneItem? selectedItem)
Parameters
selectedIndexintThe index of the selected item.
selectedItemFortuneItemThe selected item.
Properties
SelectedIndex
Gets the index of the selected item.
public int SelectedIndex { get; }
Property Value
SelectedItem
Gets the selected item, or null if no item is selected.
public FortuneItem? SelectedItem { get; }