Skip to content

Commit b0401c2

Browse files
authored
Merge pull request #5121 from MicrosoftDocs/drewbat/widget-fixes-2025-01-16
Some minor fixes in the widget docs.
2 parents f214002 + 6c01c51 commit b0401c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/apps/develop/widgets/implement-widget-provider-cs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ The following steps summarize the process for widget customization.
798798
1. The widget raises the **OnCustomizationRequested** event on the widget provider to indicate that the user has requested the widget customization experience.
799799
1. The widget provider sets an internal flag to indicate that the widget is in customization mode. While in customization mode, the widget provider sends the JSON templates for the widget customization UI instead of the regular widget UI.
800800
1. While in customization mode, the widget provider receives **OnActionInvoked** events as the user interacts with the customization UI and adjusts its internal configuration and behavior based on the user's actions.
801-
1. When the action associated with the **OnActionInvoked** event is the app-defined "exit customization" action, the widget provider resets it's 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.
801+
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".
802802
1. The widget provider persists the customization options to disk or the cloud so that the changes are preserved between invocations of the widget provider.
803803

804804
> [!NOTE]

0 commit comments

Comments
 (0)