Skip to content

NavigationListMarkupExtensions.OnItemInvoked<T> method

Subscribes handler to ItemInvoked. Occurs when a selectable row is activated by click or Enter, before a click selects it; a handler that sets Handled keeps the selection as it is.

public static T OnItemInvoked<T>(this T target, Action<ItemInvokedEventArgs> handler)
where T : NavigationList
parameter description
T Receiver type.
target Target NavigationList.
handler Handler subscribed to ItemInvoked.

The same element for chaining.

Sets: NavigationList.ItemInvoked