SecondaryTile.RequestCreateForSelectionAsync | requestCreateForSelectionAsync methods

This topic has not yet been rated - Rate this topic
Displays a preview of the secondary tile in relation to a specified rectangle, together with a confirmation dialog to create the tile.

Overload list

MethodDescription
RequestCreateForSelectionAsync(Rect) Displays a preview of the secondary tile above the specified rectangle, together with a confirmation dialog to create the tile.
RequestCreateForSelectionAsync(Rect, Placement) Displays a preview of the secondary tile at the given side of a specified rectangle, together with a confirmation dialog to create the tile.

Remarks

This method places the confirmation dialog and tile preview immediately adjacent to the rectangle specified in the method's parameters. Programmatic placement of the dialog promotes a consistency to the pinning experience and ensures that the dialog is shown near the user's point of invocation (generally a "Pin" button), to associate the dialog's appearance with the user's action. Alternatively, if the user invokes the confirmation dialog from an app bar at the bottom of the screen, you can use Windows.Popups.Placement.above to reliably position the dialog above the associated button.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.StartScreen
Windows::UI::StartScreen [C++]

Metadata

Windows.winmd

See also

SecondaryTile
Secondary tiles sample

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.