ToastNotification.Priority ToastNotification.Priority ToastNotification.Priority ToastNotification.Priority ToastNotification.Priority Property

Definition

Gets or sets the priority of the toast notification.

public : ToastNotificationPriority Priority { get; set; }
ToastNotificationPriority Priority();

void Priority(ToastNotificationPriority priority);
public ToastNotificationPriority Priority { get; set; }
Public ReadWrite Property Priority As ToastNotificationPriority
var toastNotificationPriority = toastNotification.priority;
toastNotification.priority = toastNotificationPriority;

Property Value

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

The priority setting provides hints on how and at what urgency level a notification should be presented to the user (whether to wake up the screen, etc). Whether the notification is displayed in high priority is based on the state and power management policy of the device.