InputActivationState InputActivationState InputActivationState InputActivationState Enum


Specifies all possible activation states for a view, window, or other user interface element.

public : enum class InputActivationState
enum class winrt::Windows::UI::Input::InputActivationState : int32_t
public enum InputActivationState
Public Enum InputActivationState

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)


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.