SystemButtonEventController.SystemFunctionButtonReleased 事件

定義

Fn 硬體系統 (也稱為 [函式 Shift) ] 按鈕時,目前按下時就會放開。

// 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) 

事件類型

備註

此 API 適用于協助工具工具作為從硬體系統按鈕攔截事件的低階勾點。

SystemButtonEventController 事件註冊會套用整個系統,而且是初次提供、第一次提供服務。 如果應用程式或服務將 SystemButtonEventController 事件 Handled 屬性設定為 true,則針對相同事件通知在該應用程式或服務之後註冊的應用程式或服務將不會收到通知。

適用於

另請參閱