Skip to content

NavigationViewMarkupExtensions.OnSelectionChanged method

Subscribes handler to SelectionChanged. Occurs when the selection changes.

public static NavigationView OnSelectionChanged(this NavigationView target, Action<object?> handler)
parameter description
target Target NavigationView.
handler Handler subscribed to SelectionChanged.

The same element for chaining.

Sets: NavigationView.SelectionChanged