Microsoft.Windows.Widgets.Providers Namespace

Provides APIs for implementing a widget provider for Windows Widgets.

Classes

WidgetActionInvokedArgs

Provides data for the IWidgetProvider.OnActionInvoked(WidgetActionInvokedArgs) callback, which is raised when an action is invoked on a widget, such as the user clicking on a button.

WidgetContext

Provides information about the configuration of a widget within the widget host.

WidgetContextChangedArgs

Provides data for the IWidgetProvider.OnWidgetContextChanged(WidgetContextChangedArgs) callback.

WidgetInfo

Contains status information for a widget, including the visual template, data template, custom state, the last update time, and context information from the widget host.

WidgetManager

Provides methods for querying, updating, and deleting widgets.

WidgetUpdateRequestOptions

Provides data for calls to WidgetManager.UpdateWidget(WidgetUpdateRequestOptions).

Interfaces

IWidgetManager

The interface that is implemented by the WidgetManager class, which provides methods for querying, updating and deleting widgets.

IWidgetProvider

This interface is implemented by Windows Widget providers to receive callbacks from the widget host for widget lifetime events.

Remarks

IWidgetProvider is the interface that must be implemented by widget providers in order to receive callback notifications for widget lifecycle events. This interface be implemented as an Out-of-process COM Server.

The WidgetManager class provides methods for updating, querying, and deleting widgets.