Share via


ToastNotificationManagerForUser.NotificationMode Property

Definition

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.

Applies to