InputActivationListener クラス

定義

ウィンドウ、ビュー、またはその他のビジュアル要素のアクティブ化状態に対する変更にアクセスして観察する機能を提供します。

public ref class InputActivationListener sealed : AttachableInputObject
/// [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 InputActivationListener final : AttachableInputObject
[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 sealed class InputActivationListener : AttachableInputObject
Public NotInheritable Class InputActivationListener
Inherits AttachableInputObject
継承
Object Platform::Object IInspectable AttachableInputObject InputActivationListener
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v8.0 で導入)

プロパティ

State

ウィンドウ、ビュー、またはその他のビジュアル要素のアクティブ化の状態を取得します。

メソッド

Close()

AttachableInputObject インスタンスを終了します。

(継承元 AttachableInputObject)
Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

(継承元 AttachableInputObject)

イベント

InputActivationChanged

ウィンドウ、ビュー、またはその他のビジュアル要素が新しいアクティブ化状態への移行を完了したときに発生します。

適用対象

こちらもご覧ください