Edit

Share via


ToastButton.SetAfterActivationBehavior(ToastAfterActivationBehavior) Method

Definition

Sets the behavior that the toast should use when the user invokes this button. Desktop-only, supported in builds 16251 or higher. New in Fall Creators Update.

public Microsoft.Toolkit.Uwp.Notifications.ToastButton SetAfterActivationBehavior (Microsoft.Toolkit.Uwp.Notifications.ToastAfterActivationBehavior afterActivationBehavior);
member this.SetAfterActivationBehavior : Microsoft.Toolkit.Uwp.Notifications.ToastAfterActivationBehavior -> Microsoft.Toolkit.Uwp.Notifications.ToastButton
Public Function SetAfterActivationBehavior (afterActivationBehavior As ToastAfterActivationBehavior) As ToastButton

Parameters

afterActivationBehavior
ToastAfterActivationBehavior

The behavior that the toast should use when the user invokes this button.

Returns

The current instance of ToastButton

Applies to