SystemButtonEventController.SystemFunctionLockIndicatorChanged Событие

Определение

Происходит при изменении состояния визуального индикатора для блокировки кнопки FN (также известной как функция shift).

// 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, приложения или службы, зарегистрированные после этого приложения или службы для того же уведомления о событии, не будут получать уведомление.

Применяется к

См. также раздел