Dela via


SystemButtonEventController.SystemFunctionButtonReleased Event

Definition

Occurs when a Fn hardware system (also know as Function Shift) button, which is currently pressed, is released.

// Register
event_token SystemFunctionButtonReleased(TypedEventHandler<SystemButtonEventController, SystemFunctionButtonEventArgs const&> const& handler) const;

// Revoke with event_token
void SystemFunctionButtonReleased(event_token const* cookie) const;

// Revoke with event_revoker
SystemButtonEventController::SystemFunctionButtonReleased_revoker SystemFunctionButtonReleased(auto_revoke_t, TypedEventHandler<SystemButtonEventController, SystemFunctionButtonEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemButtonEventController,SystemFunctionButtonEventArgs> SystemFunctionButtonReleased;
function onSystemFunctionButtonReleased(eventArgs) { /* Your code */ }
systemButtonEventController.addEventListener("systemfunctionbuttonreleased", onSystemFunctionButtonReleased);
systemButtonEventController.removeEventListener("systemfunctionbuttonreleased", onSystemFunctionButtonReleased);
- or -
systemButtonEventController.onsystemfunctionbuttonreleased = onSystemFunctionButtonReleased;
Public Custom Event SystemFunctionButtonReleased As TypedEventHandler(Of SystemButtonEventController, SystemFunctionButtonEventArgs) 

Event Type

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.

Applies to

See also