Announcing Uno Platform 2.2 – Windows Community Toolkit support, Performance Improvements and more
Tags: news, webassembly, android, ios
Published: 2020-04-29 14:43:36

---
title: Announcing Uno Platform 2.2 – Windows Community Toolkit support, Performance Improvements and more
published: true
date: 2020-04-21 18:35:22 UTC
tags: News,WebAssembly,Android,iOS
canonical_url: https://platform.uno/blog/announcing-uno-platform-2-2-windows-community-toolkit-support-performance-improvements-and-more/
---

The Uno 2.2 release is packed with new features, performance improvements and bug fixes, even if it’s closely following the 2.1 release! In addition to expanding our support for Windows Community Toolkit (WCT)  today we are also shipping additional 70 smaller features and performance improvements.

![](https://s3.amazonaws.com/uno-website-assets/wp-content/uploads/2020/04/21133627/Uno_banners_2.2_is_available-web.png)

If you are following our [GitHub repo](https://github.com/unoplatform/uno) (hint – you should star it – many more features coming), you may have noticed we are also hard at work on adding support for macOS apps (Thanks [@MartinZikmund](https://twitter.com/mzikmunddev)), and while we still do not have anything to announce, it’s taking shape! The #WinUIEverywhere vision is closer by the day!

 

> ### About Uno Platform
> 
> For those new to Uno Platform – it enables for creation of single-source C# and XAML apps which run natively on iOS and Android, and Web via WebAssembly. Uno Platform is Open Source (Apache 2.0) and [available on GitHub](https://github.com/unoplatform/uno). To learn more about Uno Platform, see [how it works](https://platform.uno/how-it-works/), or [create a small sample app](https://platform.uno/docs/articles/getting-started-tutorial-1.html).

Among the implemented features in this release, you’ll find:

- Support for MenuFlyout, UIElement.ContextFlyout  
 ![](https://s3.amazonaws.com/uno-website-assets/wp-content/uploads/2020/04/21134545/Uno-2-2-flyout-twitter.gif)
- Support for [MenuBar from WinUI 2](https://github.com/microsoft/microsoft-ui-xaml/tree/master/dev/MenuBar)  
 ![](https://s3.amazonaws.com/uno-website-assets/wp-content/uploads/2020/04/21135118/Uno-2-2-menubar-twitter.gif)
- Support for ScrollBar
- Add support for [**dotnet new unoapp**](https://github.com/unoplatform/uno/blob/master/doc/articles/get-started-vscode-wasm.md), [Visual Studio Code for WebAssembly](https://platform.uno/blog/announcing-uno-platform-support-for-visual-studio-code/) and macOS templates
- Support for Electron hosted apps
- ImageSource.SetSourceAsync support for WebAssembly (Thanks [@SuperJMN](https://twitter.com/SuperJMN))
- Support for ColorAnimation
- Support for Pedometer for iOS and Android (Thanks @MartinZikmund)
- Suppport for mouse wheel events (PointerWheelChanged) on WebAssembly
- Support for DropDownButton from WinUI 2 (Thanks @MartinZikmund)
- Many performance and memory updates impacting all platforms at various levels, such as giving an estimated 20% performance improvement on controls creation on WebAssembly. A more detailed post with benchmarks will follow soon on that topic.
- Support for ms-appdata paths in Image, MediaPlayer (Thanks @MartinZikmund)

Uno Platform is now built using C# 8.0 and Visual Studio 16.5 on Azure DevOps hosted agents, which means that AndroidX and Android 10 support is close by.

And finally, many of the recent updates were targeted at improving the behavior of controls in the [Windows Community Toolkit](https://github.com/unoplatform/Uno.WindowsCommunityToolkit), with enabling DataGrid, TabView and Expander controls. On the topic of the DataGrid, there’s still lots of work to be done, particularly around performance under WebAssembly, but this release updates now make the control usable. Look for a blog post tomorrow digging into more details on DataGrid. If you are keen on digging into the DataGrid right away, try this sample code for [DataGrid](https://github.com/unoplatform/Uno.WindowsCommunityToolkit/blob/uno/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/DataGrid/DataGridCode.bind), [TabView](https://github.com/unoplatform/Uno.WindowsCommunityToolkit/blob/uno/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TabView/TabViewXaml.bind) and [Expander](https://github.com/unoplatform/Uno.WindowsCommunityToolkit/blob/uno/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Expander/ExpanderXaml.bind) after upgrading to Uno Platform 2.2.

### Next Steps

For a more extensive change log, [visit the GitHub releases page](https://github.com/unoplatform/uno/releases). If you are new to Uno Platform, you should go through our [Getting Started tutorial](https://platform.uno/docs/articles/getting-started-tutorial-1.html). And if you are already using Uno please update your packages to 2.2 via your Visual Studio NuGet package manager!

[Jerome Laban](https://twitter.com/jlaban?lang=en), on behalf of Uno Platform team

The post [Announcing Uno Platform 2.2 – Windows Community Toolkit support, Performance Improvements and more](https://platform.uno/blog/announcing-uno-platform-2-2-windows-community-toolkit-support-performance-improvements-and-more/) appeared first on [Uno Platform](https://platform.uno).