Share via


IWidgetProvider2 Interface

Definition

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

OnCustomizationRequested(WidgetCustomizationRequestedArgs)

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

Applies to