WindowActivationState Enum

Definition

Specifies the reasons for an Activated event to be raised on a Window.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum WindowActivationState
Inheritance
WindowActivationState
Attributes

Fields

Name Value Description
CodeActivated 0

The Activate method was called from code.

Deactivated 1

The window was deactivated.

PointerActivated 2

The window was activated by a pointer interaction.

Applies to

Proizvod Verzije
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also