Skip to content

ListItemActivatedEventArgs ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Event arguments for list item activation events (Enter/Space key or click).

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

Inheritance ​

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

Constructors ​

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

Parameters:

csharp
public ListItemActivatedEventArgs(ListWidget widget, ListNode node, InputBindingActionContext context, int activatedIndex, string activatedText)

Properties ​

ActivatedIndex ​

The index of the activated item.

Returns: Int32

csharp
public int ActivatedIndex { get; }

ActivatedText ​

The text of the activated item.

Returns: String

csharp
public string ActivatedText { get; }

Released under the MIT License.