CoreWindowActivationMode CoreWindowActivationMode CoreWindowActivationMode CoreWindowActivationMode Enum

Definition

Defines constants that specify the activation state of a window.

public : enum class CoreWindowActivationMode
enum class winrt::Windows::UI::Core::CoreWindowActivationMode : int32_t
public enum CoreWindowActivationMode
Public Enum CoreWindowActivationMode
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Fields

ActivatedInForeground ActivatedInForeground ActivatedInForeground ActivatedInForeground 3

The window is activated and in the foreground.

ActivatedNotForeground ActivatedNotForeground ActivatedNotForeground ActivatedNotForeground 2

The window is activated, but not in the foreground.

Deactivated Deactivated Deactivated Deactivated 1

The window is deactivated.

None None None None 0

No state is specified.