AppWindowClosedEventArgs.Reason 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 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.