Udostępnij za pośrednictwem


WindowActivationState Enum

Definition

Specifies the reasons for an Activated event to be raised on a Window.

public enum class WindowActivationState
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class WindowActivationState
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum WindowActivationState
Public Enum WindowActivationState
Inheritance
WindowActivationState
Attributes

Fields

Name Value Description
CodeActivated 0

The Activate method was called from code.

Deactivated 1

The window was deactivated.

PointerActivated 2

The window was activated by a pointer interaction.

Applies to

See also