WindowClosedEventHandler WindowClosedEventHandler WindowClosedEventHandler WindowClosedEventHandler Delegate

Definition

Represents the method that will handle the Closed event.

public : delegate void WindowClosedEventHandler(PlatForm::Object sender, CoreWindowEventArgs e)public delegate void WindowClosedEventHandler(Object sender, CoreWindowEventArgs e)Public Delegate WindowClosedEventHandler(sender As Object, e As CoreWindowEventArgs)// This API is not available in Javascript.
Parameters
sender
PlatForm::Object Object Object Object

The object where the handler is attached.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The Closed event occurs when a Window closes. However, Windows Store app typically use a single Window instance, and do not open and close additional Window instances.