Skip to content

ListSelectionChangedEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments for the legacy non-generic selection change event. Kept for back-compat with the obsolete widget.

csharp
public sealed class ListSelectionChangedEventArgs : WidgetEventArgs<ListWidget, ListNode>

Inheritance ​

Object → WidgetEventArgs → WidgetEventArgs<ListWidget, ListNode> → ListSelectionChangedEventArgs

Constructors ​

ListSelectionChangedEventArgs(ListWidget, ListNode, InputBindingActionContext, int, string) ​

Parameters:

csharp
public ListSelectionChangedEventArgs(ListWidget widget, ListNode node, InputBindingActionContext context, int selectedIndex, string selectedText)

Properties ​

SelectedIndex ​

The index of the newly selected item.

Returns: Int32

csharp
public int SelectedIndex { get; }

SelectedText ​

The text of the newly selected item.

Returns: String

csharp
public string SelectedText { get; }

Released under the MIT License.