CoreWindowActivationMode 枚举

定义

定义指定窗口的激活状态的常量。

public enum class CoreWindowActivationMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CoreWindowActivationMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class CoreWindowActivationMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CoreWindowActivationMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum CoreWindowActivationMode
Public Enum CoreWindowActivationMode
继承
CoreWindowActivationMode
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

字段

ActivatedInForeground 3

窗口在前台激活。

ActivatedNotForeground 2

窗口已激活,但不在前台激活。

Deactivated 1

窗口已停用。

None 0

未指定任何状态。

适用于