SystemButtonEventController.SystemFunctionLockIndicatorChanged 事件

定義

發生于 對 Fn 硬體系統視覺指示器狀態的變更時, (也稱為函式移位) 按鈕鎖定。

// Register
event_token SystemFunctionLockIndicatorChanged(TypedEventHandler<SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SystemButtonEventController::SystemFunctionLockIndicatorChanged_revoker SystemFunctionLockIndicatorChanged(auto_revoke_t, TypedEventHandler<SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemButtonEventController,SystemFunctionLockIndicatorChangedEventArgs> SystemFunctionLockIndicatorChanged;
function onSystemFunctionLockIndicatorChanged(eventArgs) { /* Your code */ }
systemButtonEventController.addEventListener("systemfunctionlockindicatorchanged", onSystemFunctionLockIndicatorChanged);
systemButtonEventController.removeEventListener("systemfunctionlockindicatorchanged", onSystemFunctionLockIndicatorChanged);
- or -
systemButtonEventController.onsystemfunctionlockindicatorchanged = onSystemFunctionLockIndicatorChanged;
Public Custom Event SystemFunctionLockIndicatorChanged As TypedEventHandler(Of SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs) 

事件類型

備註

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

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

適用於

另請參閱