Share via


SystemNavigationCloseRequestedPreviewEventArgs.Handled Property

Definition

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.

Applies to