CoreWindowEventArgs Class
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.
Contains the set of arguments returned to an app after a window input or behavior event.
public ref class CoreWindowEventArgs sealed : ICoreWindowEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class CoreWindowEventArgs final : ICoreWindowEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class CoreWindowEventArgs : ICoreWindowEventArgs
Public NotInheritable Class CoreWindowEventArgs
Implements ICoreWindowEventArgs
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
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 |
Specifies the property that gets or sets whether the event was handled. |