Skip to content

NavigationListMarkupExtensions.OnSelectionChanged<T> method

Subscribes handler to SelectionChanged. Occurs when the selection changes.

public static T OnSelectionChanged<T>(this T target, Action<object?> handler)
where T : NavigationList
parameter description
T Receiver type.
target Target NavigationList.
handler Handler subscribed to SelectionChanged.

The same element for chaining.

Sets: NavigationList.SelectionChanged