ToastActivatedEventArgs ToastActivatedEventArgs ToastActivatedEventArgs ToastActivatedEventArgs ToastActivatedEventArgs Class

Definition

Exposes a method that retrieves the arguments associated with a toast action initiated by the user. This lets the app tell which action was taken when multiple actions were exposed.

public : sealed class ToastActivatedEventArgs
struct winrt::Windows::UI::Notifications::ToastActivatedEventArgs
public sealed class ToastActivatedEventArgs
Public NotInheritable Class ToastActivatedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is provided to an event handler when a ToastNotification.Activated event is raised.

Version history

Windows version SDK version Value added
1903 18362 UserInput

Properties

Arguments Arguments Arguments Arguments Arguments

Gets the arguments associated with a toast action initiated by the user. This arguments string was included in the toast's XML payload.

UserInput UserInput UserInput UserInput UserInput