ScheduledToastNotification.SuppressPopup | suppressPopup property

Applies to Windows Phone only

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

  • Applies to Windows

Do not set this property to true in a toast sent to a non-Windows Phone 8.1 device. Doing so will cause a compiler error or a dropped notification.

Syntax


var suppressPopup = scheduledToastNotification.suppressPopup;
scheduledToastNotification.suppressPopup = suppressPopup;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

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.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

ScheduledToastNotification
ToastNotification.SuppressPopup

 

 

Show:
© 2014 Microsoft