WidgetInfo.Template Property

Definition

Gets a string containing the current Adaptive Card JSON visual template for the widget.

public:
 property Platform::String ^ Template { Platform::String ^ get(); };
winrt::hstring Template();
public string Template { get; }
var string = widgetInfo.template;
Public ReadOnly Property Template As String

Property Value

String

Platform::String

winrt::hstring

A JSON string.

Remarks

Set the visual template for a widget by calling WidgetManager.UpdateWidget(WidgetUpdateRequestOptions).

Applies to