CoreWindowEventArgs CoreWindowEventArgs CoreWindowEventArgs Class


Contains the set of arguments returned to an app after a window input or behavior event.

public sealed class CoreWindowEventArgs : ICoreWindowEventArgspublic sealed class CoreWindowEventArgs : ICoreWindowEventArgsPublic NotInheritable Class CoreWindowEventArgs Implements ICoreWindowEventArgs
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


This object is passed to the app in the corresponding event delegate. The app can use this to set the Handled property, which, when true, informs the framework to perform default processing of the event.


: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).


Handled Handled Handled

Specifies the property that gets or sets whether the event was handled.

public bool Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool
bool bool bool

True if the event has been handled by the appropriate delegate; false if it has not.