Share via


CoreWindowEventArgs 类

定义

包含窗口输入或行为事件后返回到应用的参数集。

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
继承
Object Platform::Object IInspectable CoreWindowEventArgs
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

此对象在相应的事件委托中传递给应用。 应用可以使用此属性来设置 Handled 属性,如果为 true,则通知框架对事件执行默认处理。

注意

此类不敏捷,这意味着需要考虑其线程模型和封送处理行为。 有关详细信息,请参阅 线程处理和封送处理 (C++/CX)

属性

Handled

指定获取或设置是否处理事件的属性。

适用于