WebUIApplication.LeavingBackground WebUIApplication.LeavingBackground WebUIApplication.LeavingBackground WebUIApplication.LeavingBackground WebUIApplication.LeavingBackground Event

Definition

Occurs when the app is about to leave the background and before the app's UI is shown.

public : event LeavingBackgroundEventHandler LeavingBackground
// Register
event_token LeavingBackground(LeavingBackgroundEventHandler const& handler) const;

// Revoke with event_token
void LeavingBackground(event_token const& cookie) const;

// Revoke with event_revoker
LeavingBackground_revoker LeavingBackground(auto_revoke_t, LeavingBackgroundEventHandler const& handler) const;
public event LeavingBackgroundEventHandler LeavingBackground
Public Event LeavingBackground As LeavingBackgroundEventHandler
function onLeavingBackground(eventArgs){/* Your code */}


webuiApplication.addEventListener("leavingbackground", onLeavingBackground);
webuiApplication.removeEventListener("leavingbackground", onLeavingBackground);