ToastButton.SetAfterActivationBehavior(ToastAfterActivationBehavior) Method
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.
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