Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IWidgetProvider2 Interface

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.

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

public interface class IWidgetProvider2
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(952346979, 56723, 18333, 146, 118, 4, 191, 132, 238, 24, 22)]
struct IWidgetProvider2
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 131072)]
[Windows.Foundation.Metadata.Guid(952346979, 56723, 18333, 146, 118, 4, 191, 132, 238, 24, 22)]
public interface IWidgetProvider2
Public Interface IWidgetProvider2
Attributes

Remarks

Windows widget provider apps must implement the IWidgetProvider interface to receive callbacks for the base widget lifetime events.

Methods

Name Description
OnCustomizationRequested(WidgetCustomizationRequestedArgs)

Raised when the user has requested widget customization through the widget host UI.

Applies to


Feedback

Was this page helpful?