WindowActivatedEventArgs 类

定义

包含事件返回 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

适用于