TabView.TabClosing Event

Definition

Occurs when a tab's Close button is clicked. Set Cancel to true to prevent automatic Tab Closure.

public event EventHandler<Microsoft.Toolkit.Uwp.UI.Controls.TabClosingEventArgs> TabClosing;
member this.TabClosing : EventHandler<Microsoft.Toolkit.Uwp.UI.Controls.TabClosingEventArgs> 
Public Event TabClosing As EventHandler(Of TabClosingEventArgs) 

Event Type

Applies to