CoreWindowActivationState CoreWindowActivationState CoreWindowActivationState CoreWindowActivationState Enum


Specifies the set of reasons that a CoreWindow 's Activated event was raised.

public : enum class CoreWindowActivationState
enum class winrt::Windows::UI::Core::CoreWindowActivationState : int32_t
public enum CoreWindowActivationState
Public Enum CoreWindowActivationState

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


CodeActivated CodeActivated CodeActivated CodeActivated 0

The window was activated by a call to Activate.

Deactivated Deactivated Deactivated Deactivated 1

The window was deactivated.

PointerActivated PointerActivated PointerActivated PointerActivated 2

The window was activated by pointer interaction.

See also