WidgetActionInvokedArgs Class
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.
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.
public ref class WidgetActionInvokedArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WidgetActionInvokedArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WidgetActionInvokedArgs
Public NotInheritable Class WidgetActionInvokedArgs
- Inheritance
- Attributes
Properties
CustomState |
Gets a string containing custom state for the widget associated with the action. |
Data |
Gets a JSON string containing key/value pairs representing the data associated with the action. |
Verb |
Gets a string that indicates the verb associated with the associated action. |
WidgetContext |
Gets a WidgetContext object containing information about the configuration of the associated widget in the widget host. |
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