共用方式為


WindowActivatedEventArgs 類別

定義

包含 Microsoft.UI.Xaml.Window.Activated 事件所傳回的視窗啟用狀態資訊。

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

屬性

Handled

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

WindowActivationState

取得引發事件時 WindowActivationState

適用於