What's New in Windows 10 for developers, build 17134
Windows 10 build 17134 (also known as the April Update or version 1803), in combination with Visual Studio 2017 and the updated SDK, provide the tools, features, and experiences to make remarkable Universal Windows Platform apps. Install the tools and SDK on Windows 10 and you’re ready to either create a new Universal Windows app or explore how you can use your existing app code on Windows.
This is a collection of new and improved features and guidance of interest to Windows developers in this release. For a full list of new namespaces added to the Windows SDK, see the Windows 10 build 17134 API changes. For more information on the highlighted features of Windows 10, see What's cool in Windows 10. In addition, see Windows Developer Platform features for a high-level overview of both past and future additions to the Windows platform.
Design & UI
|Adaptive and interactive toast notifications||Enhance your app with adaptive and interactive notifications. Get started with our updated guidance on toast notifications, and explore the new information on image size restrictions, progress bars, and adding input options.
ExpirationTime is now supported on scheduled toast notifications.
|Content links||The new Content links control provides a way to embed rich data in your text controls, which lets a user find and use more information about a person or place without leaving the context of your app.|
|Design samples||The BuildCast sample has been added to the Design toolkits and samples page. BuildCast is an end-to-end sample built to showcase the Fluent Design System and other capabilities of the Universal Windows Platform.|
|Embedded handwriting||The pen input feature has been added to text controls, enabling users to write directly into text boxes with Windows Ink. As the user writes, the text is converted to a script that maintains the feel of natural writing.|
|Fluent Design updates||We've updated many of our Fluent Design pages with new information and guidance:
* The Fluent design overview has been updated to align to the latest Fluent features. * Reveal highlight has new guidance on themes and custom controls.
* Navigation history and backwards navigation has been revamped, with detailed examples, guidance for device optimization, and guidelines for custom behavior.
|Focus navigation||The new focus navigation topic describes how to optimize a UWP application for users that rely on non-pointing input types, such as keyboards, gamepads, or remote controls. In addition, programmatic focus navigation describes the APIs you can use to enhance these experiences.|
|Keyboard shortcuts||Our guidance on keyboard accelerators has been updated with new usability information. Add tooltips to your keyboard accelerators and labels to your controls to improve discoverability, or override default keyboard accelerator behavior with new APIs.|
|Page layouts||We've updated our XAML page layout docs with new information on fluid layouts and visual states. These features allow for greater control over how the position of elements in your app respond and adapt to the available visual space.|
|Pull to refresh||The Pull to refresh control allows a user to pull down a list of data in order to retrieve more data. It is widely used on devices with a touch screen.|
|Navigation view||The Navigation view control provides a collapsible navigation menu for top-level navigation in your app. This control implements the nav pane, or hamburger menu, pattern and automatically adapts the pane's display mode to different window sizes.|
|Reveal focus||The new Reveal focus effect provides lighting for experiences such as Xbox One and television screens. It animates the border of focusable elements, such as buttons, when the user moves gamepad or keyboard focus to them.|
|Sound||XAML now supports 3D Audio with the SpatialAudioMode property. See Sound for information on how it can be configured.|
Secondary tile and badge notifications are now supported from Desktop Bridge apps.
|Tree View||The TreeView control enables a hierarchical list with expanding and collapsing nodes that contain nested items. It can be used to illustrate a folder structure or nested relationships in your UI.|
|Writing style||We've upgraded and expanded our article on voice and tone, transforming it into Writing style guidance. This new information provides principles for creating effective text in your app, and recommends best practices for writing for controls such as error messages or dialogs.|
|Getting started for game development||Interested in developing games for Windows 10? The new Getting started for game development page gives you a full overview of what you need to do to get yourself set up, registered, and ready to submit your apps and games.|
|Graphics adapters||The following DXGI APIs have been added, which are related to graphics adapter preference and removal:
* The IDXGIFactory6 interface enables a single method that enumerates graphics adapters based on a given GPU preference. * The DXGIDeclareAdapterRemovalSupport function allows a process to indicate that it's resilient to any of its graphics devices being removed.
* The DXGI_GPU_PREFERENCE enumeration describes the preference of GPU for the app to run on.
Develop Windows apps
|Adaptive Cards||Adaptive cards are an open card exchange format enbling developers to exchange UI content in a common and consistent way. They describe their content as a JSON object that can be rendered to automatically adapt to the look and feel of the host application.|
|App Resource Group||The AppResourceGroupInfo class has new methods that you can use to initiate the transition to the app suspended, active (resumed), and terminated states.|
|Broad file-system access||The broadFileSystemAccess capability grants apps the same access to the file system as the user who is currently running the app without file-picker style prompts. For more info, see File access permissions and the broadFileSystemAccess entry in App capability declarations.|
|C++/WinRT||C++/WinRT is a new, entirely standard, modern C++17 language projection for Windows Runtime (WinRT) APIs. It's implemented solely in header files, and designed to provide you with first-class access to the modern Windows API. With C++/WinRT, you can author and consume WinRT APIs using any standards-compliant C++17 compiler. For your C++ applications — from Win32 to UWP — use C++/WinRT to keep your code standard, modern, and clean, and your application lightweight and fast.|
|Console UWP apps||You can now write C++ /WinRT or /CX UWP console apps that run in a console window such as a DOS or PowerShell console window. Console apps use the console window for input and output. UWP console apps can be published to the Microsoft Store, have an entry in the app list, and a primary tile that can be pinned to the Start menu. For more info, see Create a Universal Windows Platform console app|
|Expanded app manifest capabilities||Several features have been added to the App Package Manifest schema, including: broad file system access, enabling barcode scanners for point-of-service devices, defining a UWP console app, and more. See app manifest changes in Windows 10 for more details.|
|Landmarks and Headings supported for accessible technology (AT)||Landmarks and headings define sections of a user interface that aid in efficient navigation for users of assistive technology such as screen readers. For more information see Landmarks and Headings.|
|Machine Learning||Windows Machine Learning allows you to build apps that evaluate pre-trained machine learning models locally on your Windows 10 devices. To learn more about the platform, see Windows Machine Learning.
The MachineLearning namespace contains classes that enable apps to load machine learning models, bind data as inputs, and evaluate the results.
|Map Controls||The MapControl class has a new property named Region that you can use to show contents in a map control based on the language of a specific region (for example, the state or province).|
|Map Elements||The MapElement class has a new property named IsEnabled that you can use to specify whether users can interact with the MapElement.|
|Map Place Info||The PlaceInfo class contains a new method CreateFromAddress that you can use to create a PlaceInfo by using an address and display name.|
|Map Services||The MapRouteDrivingOptions class contains a new property named DepartureTime that you can use to compute a route with the traffic conditions that are typical for the specified day and time.|
|Multi-instance UWP apps||A UWP app can opt-in to support multiple instances. If an instance of an multi-instance UWP app is running, and a subsequent activation request comes through, the platform will not activate the existing instance. Instead, it will create a new instance, running in a separate process. For more info, see Create a multi-instance Universal Windows App.|
|Package resource indexing APIs and custom build systems||With package resource indexing (PRI) APIs, you can develop a custom build system for your UWP app's resources. The build system will be able to create, version, and dump PRI files to whatever level of complexity your UWP app needs. If you have a custom build system that currently uses the MakePri.exe command-line tool, we recommend that you switch over to calling the PRI APIs instead, as they provide increased performance and control.|
|PlayReady||Microsoft PlayReady is a set of technologies for protecting digital content from unauthorized usage. PlayReady runs on all sorts of devices and apps, and across all operating systems. Learn how to incorporate PlayReady in your app.|
|Private Audience||If you want your app’s Store listing to be visible only to selected people that you specify, use the new Private audience option. The app will not be discoverable or available to anyone other than people in the group(s) you specify. This option is useful for beta testing, as it lets you distribute your app to testers without anyone else being able to get the app, or even see its Store listing. For more info, see Choose visibility options.|
|Progressive Web Apps||Microsoft Edge and UWP web apps now support Progressive Web Apps (PWAs)!
* Using standards-based web technologies and feature detection, you can enhance your web apps to provide native app experiences, including push notifications, offline support, and OS integration, while still offering a great baseline web app experience on browsers and platforms that don’t yet support PWA technologies. * Adding a manifest file to your app enables it to be installed across the entire UWP device family (including secure Windows 10 S-mode devices) and distributed from the Microsoft Store.
PWAs are a natural evolution of Hosted Web Apps, but with standards-based support for offline scenarios, thanks to the Service Workers, Cache, and Push APIs.
|Screen capture||The Windows.Graphics.Capture namespace provides APIs to acquire frames from a display or application window, to create video streams or snapshots to build collaborative and interactive experiences. See Screen capture for more information.|
|System Triggers||The CustomSystemEventTrigger allows you to define a system trigger when the OS doesn't provide a system trigger that you need. Such as when a hardware driver and the UWP app both belong to 3rd party, and the hardware driver needs to raise a custom event that its app handles. For example, an audio card that needs to notify a user when an audio jack is plugged in.|
|User Activities||New UserActivity documentation explains how to help users resume what they were doing in your app, even across multiple devices.
The UserActivitySessionHistoryItem class has new methods that retrieve recent user activities. See GetRecentUserActivitiesAsync, and its overload, for details.
|Windows Mixed Reality APIs||To support the growing Windows Mixed Reality platform, new APIs have been added to the Windows.Graphic.Holographic and Windows.UI.Input.Spatial namespaces.|
|Windows Mixed Reality docs||The Windows Mixed Reality developer guidance is now hosted on docs.microsoft.com. Just like in these UWP docs, you can now file feedback with GitHub Issues or submit your own contributions via a pull request.|
Publish & Monetize Windows apps
|Download and install package updates from the Store||We've updated Download and install package updates from the Store with new guidance and examples about how to download and install package updates without displaying a notification UI to the user, uninstall an optional package, and get info about packages in the download and install queue for your app.|
|Enter free-form prices in a specific market's local currency||When you override your app's base price for a specific market, you are no longer limited to choosing one of the standard price tiers; you now have the option to enter a free-form price in the market's local currency. For more info, see Set and schedule app pricing. This feature is available to all Windows developers and does not require the updated SDK.|
|Store Context||The StoreContext class has been updated with a selection of new methods. These methods manage the downloading and installation of package updates and add-ons for an app.|
|Subscription add-ons are now available to all developers||Create and publish subscription add-ons to sell digital products in your apps and games (such as app features or digital content) with automated recurring billing periods. For more details, see Enable subscription add-ons for your app. This feature is available to all Windows developers and does not require the updated SDK.|
The following videos have been published since the Fall Creator's Update, highlighting new and improved features in Windows 10 for developers.
Accessibility tools for Windows developers
The Windows 10 SDK includes several tools to help you test for and improve the accessibility of your app. The Inspect and AccEvent tools help you ensure your apps are available to all. Watch the video to learn about these tools, then read more about accessibility testing for more information.
Creating 3D app launchers for Windows Mixed Reality
3D launchers provide a unique way for users to place a truly volumetric representation of your app in their Mixed Reality home environment. Watch the video to learn how to prepare your 3D model and assign it as the launcher for your app, then read the developer docs and check out our design guidance for more information.
Creating a UWP Console App
How to use Windows ML in your app
Windows Machine Learning allows you to build apps that evaluate pre-trained machine learning models locally on your Windows 10 devices. Watch the video for a quick walkthrough, then read the docs for the full story.
Motion controller tracking
Motion controllers represent a user's hands in Windows Mixed Reality. Watch the video to learn how the motion controllers work when they are both in and out of the field of view of the Mixed Reality headset, and read more about controller tracking here.
Package a .NET app in Visual Studio
It's easier than ever to bring your desktop app to the Universal Windows Platform. Watch the video to learn how to package your .NET app for distribution, then check out this page for more information.
Xbox Live Creators Program
One Dev Question - Why was Docments and Settings renamed Users?
Curious why the Documents and Settings directory was renamed? Raymond Chen explains where the name came from, and why it was changed. For more developement details about Windows and its history, check out Raymond's blog.
The Coloring Book sample has received a major update to incorporate advanced Ink scenarios including improved ink rendering performance using the custom ink drying APIs. It also includes support for flood fill and coloring inside the lines for regions defined by the artwork.
The Photo Lab sample has been updated to load images from the Pictures library using data virtualization to increase performance when there are numerous files. Also, the image editing page in the sample now uses the XamlCompositionBrushBase class to apply effects.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.