ToastNotifier.Setting Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that tells you whether there is an app, user, or system block that prevents the display of a toast notification.
public:
property NotificationSetting Setting { NotificationSetting get(); };
NotificationSetting Setting();
public NotificationSetting Setting { get; }
var notificationSetting = toastNotifier.setting;
Public ReadOnly Property Setting As NotificationSetting
Property Value
Enabled if the toast can be shown; otherwise, one or more reasons that the toast will be blocked.
Remarks
When toast notifications have been disabled at more than one level, this property value reflects the setting with the largest scope. Precedence is as follows, from largest scope to smallest:
- DisabledByManifest
- DisabledByGroupPolicy
- DisabledForUser
- DisabledForApplication If toast notifications have been disabled both by the user and by group policy, this property returns DisabledByGroupPolicy.