WidgetActionInvokedArgs.Data Property

Definition

Gets a JSON string containing key/value pairs representing the data associated with the action.

public:
 property Platform::String ^ Data { Platform::String ^ get(); };
winrt::hstring Data();
public string Data { get; }
var string = widgetActionInvokedArgs.data;
Public ReadOnly Property Data As String

Property Value

String

Platform::String

winrt::hstring

A JSON string containing representing the data associated with the action.

Remarks

Apps define the data in the action definition their Adaptive Card visual template. For information on setting the data for actions in an Adaptive Card template, see Create a widget template with the Adaptive Cards Designer.

Applies to