Share via


AppNotification.SuppressDisplay Property

Definition

Gets or sets a value that specifies whether the app notification's pop-up UI is displayed on the user's screen.

public:
 property bool SuppressDisplay { bool get(); void set(bool value); };
bool SuppressDisplay();

void SuppressDisplay(bool value);
public bool SuppressDisplay { get; set; }
var boolean = appNotification.suppressDisplay;
appNotification.suppressDisplay = boolean;
Public Property SuppressDisplay As Boolean

Property Value

Boolean

bool

True is the display of the app notification should be suppressed; otherwise, false.

Remarks

When SuppressDisplay is enabled, the app notification is placed silently into the Notification Center (called Action Center in Windows 10). This allows apps to deliver the notification to the user without interrupting them.

Applies to