Share via


AppWindowClosedEventArgs.Reason Property

Definition

Gets a value that indicates how the closing of the app window was initiated.

public:
 property AppWindowClosedReason Reason { AppWindowClosedReason get(); };
AppWindowClosedReason Reason();
public AppWindowClosedReason Reason { get; }
var appWindowClosedReason = appWindowClosedEventArgs.reason;
Public ReadOnly Property Reason As AppWindowClosedReason

Property Value

A value of the enumeration that indicates how the closing of the app window was initiated.

Applies to