SystemButtonEventController.SystemFunctionButtonReleased 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 ketika tombol sistem perangkat keras Fn (juga dikenal sebagai Function Shift), yang saat ini ditekan, dirilis.
// 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)
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.