Skip to content

TabControlMarkupExtensions.OnSelectionChanged method

Subscribes handler to SelectionChanged. Occurs when the selected tab changes.

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

The same element for chaining.

Sets: TabControl.SelectionChanged