Windows Dev Center

ScheduledToastNotification.SuppressPopup | suppressPopup property

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

Note  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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2015 Microsoft