Szerkesztés

Megosztás a következőn keresztül:


Widget providers

Windows widgets are small UI containers that display text and graphics supplied by a Windows app or Progressive Web App (PWA). The Adaptive Cards format used by Windows widgets enables dynamic binding of the data that populates the widget UI. To update your widget, your app or service will implement a widget service provider that responds to requests from the Widgets host and returns JSON strings specifying both the visual template and the associated data for your widget.

For an overview of the Windows widgets experience and design guidance for creating your own widgets, see Windows widgets.

Currently you can implement a widget provider using a packaged Win32 desktop app or a Progressive Web App (PWA). For more information see:

For API reference documentation for implementing widget providers, see the Microsoft.Windows.Widgets.Providers namespace.

For a walkthrough of the basics of creating a widget and implementing a widget provider, watch the Tabs vs Spaces episode "Create Widgets for Windows 11".

Additional resources