Share via


InputActivationState Enum

Definition

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

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

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Fields

Name Value Description
None 0

No state is specified.

Deactivated 1

The window is deactivated.

ActivatedNotForeground 2

The window is activated, but not in the foreground.

ActivatedInForeground 3

The window is activated and in the foreground.

Applies to