ToastNotification.SuppressPopup ToastNotification.SuppressPopup ToastNotification.SuppressPopup ToastNotification.SuppressPopup ToastNotification.SuppressPopup Property

Definition

Gets or sets whether a toast's pop-up UI is displayed on the user's screen.

Do not set this property to true in a toast sent to a Windows 8.x device. Doing so will cause a compiler error or a dropped notification.

public : Platform::Boolean SuppressPopup { get; set; }
bool SuppressPopup();

void SuppressPopup(bool suppresspopup);
public bool SuppressPopup { get; set; }
Public ReadWrite Property SuppressPopup As bool
var bool = toastNotification.suppressPopup;
toastNotification.suppressPopup = bool;

Property Value

bool bool bool

Set to true to suppress the popup message; otherwise, false. The default value is false, meaning the toast's pop-up message will be shown. Setting this property to true places the toast notification silently into the action center. This enables your app to communicate with the user without interrupting them.

See also