Share via


WidgetActionInvokedArgs.CustomState Property

Definition

Gets a string containing custom state for the widget associated with the action.

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

Property Value

String

Platform::String

winrt::hstring

A string containing custom state for the widget associated with the action.

Remarks

The custom state string is app-defined and is not used or validated by the widget host.

Applies to