Home Latest News Developer News You can now create Secondary Tiles directly from your desktop application

You can now create Secondary Tiles directly from your desktop application

0
Secondary tiles

Developers can now implement secondary tiles feature from the desktop application by leveraging the Desktop Bridge. This feature can be put to use starting with the Windows 10 Insider Preview Build 16199.

A secondary tile provides a consistent, efficient way for users to directly access specific areas within a packaged app from the Start screen. A developer can selectively choose the areas within the application for be able to pin to start, and also users have the option of whether or not to pin a secondary tile to the Start screen.

The procedure to add a Secondary tile from your WPF or Winforms is very similar to a pure UWP application, however there are a few things to remember.

If you have a Win32 desktop application or a desktop application you need to specify your main window handle (HWND) in the API. The SecondaryTile displays a modal dialog to the user to get a confirmation from the user.

If a desktop application does not configure the SecondaryTile object to specify the owner window for modal dialogs, this object will return inaccurate data or errors.

Exit mobile version