NotificationSetting NotificationSetting NotificationSetting NotificationSetting NotificationSetting Enum


Specifies the limitations on tile or toast notification display.

public : enum class NotificationSetting
enum class winrt::Windows::UI::Notifications::NotificationSetting : int32_t
public enum NotificationSetting
Public Enum NotificationSetting
var value = Windows.UI.Notifications.NotificationSetting.disabledByGroupPolicy;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


DisabledByGroupPolicy DisabledByGroupPolicy DisabledByGroupPolicy DisabledByGroupPolicy DisabledByGroupPolicy 3

An administrator has disabled all notifications on this computer through group policy. The group policy setting overrides the user's setting.

DisabledByManifest DisabledByManifest DisabledByManifest DisabledByManifest DisabledByManifest 4

This app has not declared itself toast capable in its package.appxmanifest file. This setting is found on the manifest's Application UI page, under the Notification section. For an app to send toast, the Toast Capable option must be set to "Yes".

DisabledForApplication DisabledForApplication DisabledForApplication DisabledForApplication DisabledForApplication 1

The user has disabled notifications for this app.

DisabledForUser DisabledForUser DisabledForUser DisabledForUser DisabledForUser 2

The user or administrator has disabled all notifications for this user on this computer.

Enabled Enabled Enabled Enabled Enabled 0

All notifications raised by this app can be displayed.

See also