ToastNotification.Priority 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 or sets the priority of the toast notification.
public:
property ToastNotificationPriority Priority { ToastNotificationPriority get(); void set(ToastNotificationPriority value); };
ToastNotificationPriority Priority();
void Priority(ToastNotificationPriority value);
public ToastNotificationPriority Priority { get; set; }
var toastNotificationPriority = toastNotification.priority;
toastNotification.priority = toastNotificationPriority;
Public Property Priority As ToastNotificationPriority
Property Value
The priority of the toast notification.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
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.