SystemButtonEventController.SystemFunctionLockIndicatorChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi pada perubahan pada status indikator visual untuk kunci tombol sistem perangkat keras Fn (juga dikenal sebagai Pergeseran Fungsi).
// 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)
Jenis Acara
Keterangan
API ini ditujukan untuk digunakan oleh alat Aksesibilitas sebagai kait tingkat rendah untuk mencegat peristiwa dari tombol sistem perangkat keras.
Pendaftaran peristiwa SystemButtonEventController menerapkan lebar sistem dan dilayani pertama kali. Jika aplikasi atau layanan menetapkan properti Penanganan peristiwa SystemButtonEventController ke true, aplikasi atau layanan yang terdaftar setelah aplikasi atau layanan tersebut untuk pemberitahuan peristiwa yang sama tidak akan menerima pemberitahuan.
Berlaku untuk
Lihat juga
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk