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
OnCustomizationRequested(WidgetCustomizationRequestedArgs) |
Raised when the user has requested widget customization through the widget host UI. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for