SystemNavigationManagerPreview SystemNavigationManagerPreview SystemNavigationManagerPreview SystemNavigationManagerPreview SystemNavigationManagerPreview Class

Definition

Provides a way for an app to respond to system provided close events.

public : sealed class SystemNavigationManagerPreview : ISystemNavigationManagerPreview
struct winrt::Windows::UI::Core::Preview::SystemNavigationManagerPreview : ISystemNavigationManagerPreview
public sealed class SystemNavigationManagerPreview : ISystemNavigationManagerPreview
Public NotInheritable Class SystemNavigationManagerPreview Implements ISystemNavigationManagerPreview
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Methods

GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView()

Returns the SystemNavigationManagerPreview object associated with the current window.

Events

CloseRequested CloseRequested CloseRequested CloseRequested CloseRequested

Occurs when the user invokes the system button for close (the 'x' button in the corner of the app's title bar).