CoreWindowEventArgs
CoreWindowEventArgs
CoreWindowEventArgs
CoreWindowEventArgs
Class
Definition
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// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
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.
Note
: 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).
Properties
Handled Handled Handled Handled
Specifies the property that gets or sets whether the event was handled.
public : PlatForm::Boolean Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
True if the event has been handled by the appropriate delegate; false if it has not.