CoreWindowEventArgs 類別

定義

包含視窗輸入或行為事件之後傳回給 app 的引數集合。

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

指定取得或設定事件是否已處理的屬性。

適用於