SystemNavigationCloseRequestedPreviewEventArgs.Handled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the close request is handled by the app.
public:
property bool Handled { bool get(); void set(bool value); };
bool Handled();
void Handled(bool value);
public bool Handled { get; set; }
var boolean = systemNavigationCloseRequestedPreviewEventArgs.handled;
systemNavigationCloseRequestedPreviewEventArgs.handled = boolean;
Public Property Handled As Boolean
Property Value
Boolean
bool
true if the app has handled the close request; otherwise, false. The default is false.
Remarks
You can handle the close request to have your app perform another action, such as letting the user save data before closing.