SystemFunctionButtonEventArgs クラス

定義

SystemFunctionButtonPressed イベントおよび SystemFunctionButtonReleased イベントのイベント データを格納します。

public ref class SystemFunctionButtonEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SystemFunctionButtonEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SystemFunctionButtonEventArgs
Public NotInheritable Class SystemFunctionButtonEventArgs
継承
Object Platform::Object IInspectable SystemFunctionButtonEventArgs
属性

Windows の要件

デバイス ファミリ
Windows 10, version 2004 (10.0.19041.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v10.0 で導入)

注釈

この API は、ハードウェア システム ボタンからイベントをインターセプトするための低レベルフックとしてアクセシビリティ ツールで使用することを目的としています。

SystemButtonEventController イベント登録はシステム全体に適用され、先着順です。 アプリケーションまたはサービスによって SystemButtonEventController イベント Handled プロパティが true に設定されている場合、同じイベント通知のアプリまたはサービスの後に登録されたアプリケーションまたはサービスは通知を受け取りません。

プロパティ

Handled

SystemFunctionButtonPressed イベントと SystemFunctionButtonReleased イベントを処理済みとしてマークする値を取得または設定します。

Timestamp

SystemFunctionButtonPressed イベントと SystemFunctionButtonReleased イベントの日時を取得します。

適用対象

こちらもご覧ください