SystemUI.SetNotificationPositionHint Method

Specifies a hint for where the system should position toasts, such as game invites or achievements.

Syntax

public:
static void SetNotificationPositionHint(
         NotificationPositionHint value
)  

Parameters

value
Type: NotificationPositionHint 

The preferred position to place toasts.

Remarks

If there is already some system UI rendering at the specified hint location, the notification will be positioned in the default location, which is BottomCenter (the bottom of the screen, in the center).

Note that the Cortana UI can show up in the upper-right corner, so games may want to avoid specifying that location.

Requirements

Namespace: Windows.Xbox.UI

Metadata: windows.winmd

See also

Reference

SystemUI Class

SystemUI Members

Windows.Xbox.UI Namespace