Udostępnij za pośrednictwem


CoreWindowActivationState Enum

Definition

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

public enum class CoreWindowActivationState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CoreWindowActivationState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CoreWindowActivationState
Public Enum CoreWindowActivationState
Inheritance
CoreWindowActivationState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
CodeActivated 0

The window was activated by a call to Activate.

Deactivated 1

The window was deactivated.

PointerActivated 2

The window was activated by pointer interaction.

Applies to

See also