InputLightDismissAction.Dismissed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the user taps or clicks outside of the associated window.
// Register
event_token Dismissed(TypedEventHandler<InputLightDismissAction, InputLightDismissEventArgs const&> const& handler) const;
// Revoke with event_token
void Dismissed(event_token const* cookie) const;
// Revoke with event_revoker
InputLightDismissAction::Dismissed_revoker Dismissed(auto_revoke_t, TypedEventHandler<InputLightDismissAction, InputLightDismissEventArgs const&> const& handler) const;
public event TypedEventHandler<InputLightDismissAction,InputLightDismissEventArgs> Dismissed;
function onDismissed(eventArgs) { /* Your code */ }
inputLightDismissAction.addEventListener("dismissed", onDismissed);
inputLightDismissAction.removeEventListener("dismissed", onDismissed);
- or -
inputLightDismissAction.ondismissed = onDismissed;
Public Custom Event Dismissed As TypedEventHandler(Of InputLightDismissAction, InputLightDismissEventArgs)
Event Type
Remarks
Examples of actions that trigger the Dismissed event include the following:
- The window loses activation.
- The user presses the Esc key while the window has focus.
- The user presses the Alt key while the window has focus.
- The window receives a WM_HOTKEY message.
- The window receives app commands such as APPCOMMAND_BROWSER_HOME, APPCOMMAND_BROWSER_BACKWARD, APPCOMMAND_BROWSER_FORWARD, or APPCOMMAND_BROWSER_REFRESH.