共用方式為


LockScreenInfo.LockScreenImageChanged 事件

定義

表示鎖定畫面影像已變更。

// Register
event_token LockScreenImageChanged(TypedEventHandler<LockScreenInfo, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
LockScreenInfo::LockScreenImageChanged_revoker LockScreenImageChanged(auto_revoke_t, TypedEventHandler<LockScreenInfo, IInspectable const&> const& handler) const;
public event TypedEventHandler<LockScreenInfo,object> LockScreenImageChanged;
function onLockScreenImageChanged(eventArgs) { /* Your code */ }
lockScreenInfo.addEventListener("lockscreenimagechanged", onLockScreenImageChanged);
lockScreenInfo.removeEventListener("lockscreenimagechanged", onLockScreenImageChanged);
- or -
lockScreenInfo.onlockscreenimagechanged = onLockScreenImageChanged;
Public Custom Event LockScreenImageChanged As TypedEventHandler(Of LockScreenInfo, Object) 

事件類型

適用於