Share via


InputActivationListenerPreview Class

Definition

Provides the ability to access and observe changes to the activation state of a window, view, or other visual element.

public ref class InputActivationListenerPreview abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class InputActivationListenerPreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class InputActivationListenerPreview
Public Class InputActivationListenerPreview
Inheritance
Object Platform::Object IInspectable InputActivationListenerPreview
Attributes

Windows requirements

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

Methods

CreateForApplicationWindow(AppWindow)

Instantiates an InputActivationListenerPreview object for the specified AppWindow.

Applies to

See also