Print

The next three commands—Print, Project, and Play—are exposed as separate menu items in the Windows 10 app commands menu, although on the charms bar the corresponding panes are grouped under the top-level Devices pane. You can think of each of these commands much like the Share command. The current app is the source that has content to send to a target device. Each command enables the user to choose a target device appropriate for whatever content is available to send. Only Windows-certified devices such as printers, screens, speakers, and receivers can be exposed via this mechanism as target devices.

Supporting printing in your app is straightforward. With a little interaction with a PrintManager class and the use of a XAML-specific

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.