Table of Contents

Class FortuneSelectionEventArgs

Namespace
Nova.Avalonia.UI.Controls
Assembly
Nova.Avalonia.UI.dll

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

selectedIndex int

The index of the selected item.

selectedItem FortuneItem

The selected item.

Properties

SelectedIndex

Gets the index of the selected item.

public int SelectedIndex { get; }

Property Value

int

SelectedItem

Gets the selected item, or null if no item is selected.

public FortuneItem? SelectedItem { get; }

Property Value

FortuneItem