Window.VisibilityChanged 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.
public:
virtual event WindowVisibilityChangedEventHandler ^ VisibilityChanged;
// Register
event_token VisibilityChanged(WindowVisibilityChangedEventHandler const& handler) const;
// Revoke with event_token
void VisibilityChanged(event_token const* cookie) const;
// Revoke with event_revoker
Window::VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, WindowVisibilityChangedEventHandler const& handler) const;
public event WindowVisibilityChangedEventHandler VisibilityChanged;
function onVisibilityChanged(eventArgs) { /* Your code */ }
window.addEventListener("visibilitychanged", onVisibilityChanged);
window.removeEventListener("visibilitychanged", onVisibilityChanged);
- or -
window.onvisibilitychanged = onVisibilityChanged;
Public Custom Event VisibilityChanged As WindowVisibilityChangedEventHandler
Jenis Acara
Keterangan
VisibilityChangedEventArgs menyertakan properti Boolean Visible yang harus Anda periksa untuk menentukan status visibilitas saat ini.