Home >Backend Development >C#.Net Tutorial >UWP new features--Creator Update
Build version 15063+
1, Ability to add animations to other properties of CompositionObjects (shadow, cropping, property collections)
2. When the device is plugged in, apply to the system through the Extended Excution Session api to keep the app running in the background. (Supported since 14393)
You can use this new feature to apply for the app to run in the background for a long time so that offline or p2p uploads are not interrupted.
ExtendedExecutionSession Class api documentation:
3, Tile and Toast
1) app can determine whether pinned On the system taskbar; request the system to pin it to the taskbar. (api under development)
Using this api can increase the frequency of app use by users on the computer.
2) The app can check whether its main tile is pinned to the start menu; it requests the system to pin it to the system's start menu.
In the past, apps could only pin secondary tiles to the start menu.
Primary tile documentation:
3) Trackable Tile notification: When the user clicks the tile, the app can know the content displayed on the current tile (14393 )
Documentation:
4) Context menu in Toast notification (14393)
Runs the developer to customize the context menu on Toast notification Operation:
Documentation:
5) Toast header grouping:
Allows a header to be provided for toast notifications, which combines multiple toasts
Documentation:
6) Add a custom timestamp (timestamp) to the Toast notification:
7) Toast quick reply and other scene interactions (10240):
8) Multiple interactions of Toast notifications (under development):
Allow interactive toast notifications with multiple interaction steps. For example, the initial toast has a drop-down menu, a next button, and clicking next triggers a background task while leaving the toast in a pending state until your app updates the toast next.
9) Notification Listener:
Allows other apps to get your notifications and can be used to create wearable devices. Smartwatches can use notification listeners to send notifications from your phone to wearable devices. Home automation apps can perform actions when certain notifications are received, such as when you receive a notification from your best friend.
10) Display Progress Bar progress control (such as download progress) on toast notification:
11)Tile Notification background image cropping:
4. App extension: uwp can use plug-ins (also store apps) provided by itself or third-party developers, and can manage them Installation and uninstallation of plug-ins. (14393)
Build2016 Video:
By watching the video, you can understand that this plug-in mechanism is more functional than App Service, but it has more restrictions and still cannot pass a custom interface in the code. to call. After studying the code project () provided in the video, the main app can realize image cropping, grayscale adjustment and color inversion by calling a third-party plug-in, but the mechanism is that the third-party plug-in provides an html5 local file and puts it in Go to the public folder (the public folder shared by the main app and the plug-in), and then the main app loads this html5 file in the webView control. After processing the image in the file through JavaScript, it is passed to the main app. The main app first base64 transcodes the image, converts it into a string, and passes it to the JavaScript in webView. After processing, it also converts it to a string through base64 and passes it to the main app. The process is a bit cumbersome...
5. Controls:
1) ColorPicker control (under development)
2) Navigation View control (under development) )
3) Pull to Refresh Control (under development)
4) New "ratings" control Ratings Control (under development)
5) TextBlock added and deleted Line:
6) Swipe control (under development)
7) Tree View control (under development)
6. CompactOverlay mode (in picture (Picture): Make the app at the front of all windows
For video apps, it is similar to putting the app on top, but the size of the application window is limited. In my impression, the maximum can only be 500x500pixel.
Api documentation:
7. Use show/hide to customize page transitions animation
Developers can customize how items are displayed during page transitions animations and hide
8. Developers control app updates (14393)
Developers can control optional/mandatory updates of apps. Developers can enable/disable features until updates are installed.
Api documentation:
9. Easier to install .appx or .appxbundle file installation package (14393)
You can use this API to distribute application packages through non-Microsoft store channels.
Documentation:
10. Use lights, renderings, blurs, noise assets, blending modes, etc. to create more realistic user interfaces and contextual materials
11. Distribute app packages among multiple devices through the network, suitable for scenarios where multiple people assist in development:
#12. Uwp’s background task can run in the same process as the main process (one-process background task model) (14393)
The above is the detailed content of UWP new features--Creator Update. For more information, please follow other related articles on the PHP Chinese website!