Share via


WidgetActionInvokedArgs Class

Definition

Provides data for the Microsoft.Windows.Widgets.Providers.IWidgetProvider.OnActionInvoked 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
Object Platform::Object IInspectable WidgetActionInvokedArgs
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