+1. When the action associated with the **OnActionInvoked** event is the app-defined "exit customization" action, the widget provider resets its internal flag to indicate that it is no longer in customization mode and resumes sending the visual and data JSON templates for the regular widget experience, reflecting the changes requested during customization. It's possible for the user to close out of the customization experience without clicking the app-defined exit customization action. In this case, the [IWidgetProviderAnalytics.OnAnalyticsInfoReported](/windows/windows-app-sdk/api/winrt/microsoft.windows.widgets.providers.iwidgetprovideranalytics.onanalyticsinforeported) will be raised, and the [WidgetAnalyticsInfoReportedArgs.AnalyticsJson](/windows/windows-app-sdk/api/winrt/microsoft.windows.widgets.providers.widgetanalyticsinforeportedargs.analyticsjson) will have an *interactionKind* of "exitCustomization".
0 commit comments