SystemFunctionButtonEventArgs Class

Definition

Contains event data for the SystemFunctionButtonPressed and SystemFunctionButtonReleased events.

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
Inheritance
Object Platform::Object IInspectable SystemFunctionButtonEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

This API is intended for use by Accessibility tools as a low level hook for intercepting events from hardware system buttons.

SystemButtonEventController event registration applies system wide and is first-come, first-served. If an application or service sets a SystemButtonEventController event Handled property to true, applications or services that registered after that app or service for the same event notification will not receive the notification.

Properties

Handled

Gets or sets a value that marks the SystemFunctionButtonPressed and SystemFunctionButtonReleased events as handled.

Timestamp

Gets the date and time of the SystemFunctionButtonPressed and SystemFunctionButtonReleased events.

Applies to

See also