共用方式為


WindowEventArgs 類別

定義

包含 Window.Closed 事件所傳回的視窗狀態資訊。

public ref class WindowEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowEventArgs
Public NotInheritable Class WindowEventArgs
繼承
Object Platform::Object IInspectable WindowEventArgs
屬性

屬性

Handled

取得或設定是否處理 Window 事件。

適用於