ToastNotificationManagerForUser.NotificationMode 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 indicates the current notification mode for the associated user which determines which notifications are displayed.
public:
property ToastNotificationMode NotificationMode { ToastNotificationMode get(); };
ToastNotificationMode NotificationMode();
public ToastNotificationMode NotificationMode { get; }
var toastNotificationMode = toastNotificationManagerForUser.notificationMode;
Public ReadOnly Property NotificationMode As ToastNotificationMode
Property Value
A value from the ToastNotificationMode enumeration.
Windows requirements
| Device family |
Windows 11 Insider Preview (introduced in 10.0.23504.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v15.0)
|
Remarks
Register for the ToastNotificationManagerForUser.NotificationModeChanged event to be notified when the notification mode changes.