WidgetInfo.CustomState Property
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.
Gets a string containing the current Adaptive Card JSON data template for the widget.
public:
property Platform::String ^ CustomState { Platform::String ^ get(); };
winrt::hstring CustomState();
public string CustomState { get; }
var string = widgetInfo.customState;
Public ReadOnly Property CustomState As String
Property Value
Remarks
The custom state format is app-defined and isn't validated by the widget host.
Set the custom state for a widget by calling Microsoft.Windows.Widgets.Providers.WidgetManager.UpdateWidget