WebUICommandBarConfirmationButton.ItemInvoked 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.
Deprecated. Occurs when the confirmation button is invoked.
// Register
event_token ItemInvoked(TypedEventHandler<WebUICommandBarConfirmationButton, WebUICommandBarItemInvokedEventArgs const&> const& handler) const;
// Revoke with event_token
void ItemInvoked(event_token const* cookie) const;
// Revoke with event_revoker
WebUICommandBarConfirmationButton::ItemInvoked_revoker ItemInvoked(auto_revoke_t, TypedEventHandler<WebUICommandBarConfirmationButton, WebUICommandBarItemInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<WebUICommandBarConfirmationButton,WebUICommandBarItemInvokedEventArgs> ItemInvoked;
function onItemInvoked(eventArgs) { /* Your code */ }
webUICommandBarConfirmationButton.addEventListener("iteminvoked", onItemInvoked);
webUICommandBarConfirmationButton.removeEventListener("iteminvoked", onItemInvoked);
- or -
webUICommandBarConfirmationButton.oniteminvoked = onItemInvoked;
Public Custom Event ItemInvoked As TypedEventHandler(Of WebUICommandBarConfirmationButton, WebUICommandBarItemInvokedEventArgs)
Event Type
Remarks
Use of the Command Bar (also known as "App Bar") UX element is deprecated for UWP apps using JavaScript and no longer supported. If your app still requires it, this functionality is available from the WinJS 4 library.