TabViewItem.CloseRequested Event

Definition

Raised when the user attempts to close the TabViewItem via clicking the x-to-close button, CTRL+F4, or mousewheel.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

C#
public event TypedEventHandler<TabViewItem,TabViewTabCloseRequestedEventArgs> CloseRequested;

Event Type

Applies to

Termék Verziók
WinUI 2 2.2, 2.3, 2.4, 2.5-prerelease, 2.5, 2.6-prerelease, 2.6, 2.7-prerelease, 2.7, 2.8-prerelease, 2.8