News

New Preview of WinUI 3, Native UI Platform of Windows, Fixes Stuff

Microsoft shipped preview 2 of WinUI, the UI framework that uses Fluent Design to provide a native user experience (UX) framework for both Windows Desktop (Win32) and Universal Windows Platform (UWP) applications, focusing on stability and bug fixes.

While helping developers with modern controls and styles to create application UIs that feel natural across all Windows devices, "It provides a way to gradually migrate existing apps written in familiar technologies like MFC, WinForms, and WPF, allowing you to move these applications forward at your own pace," the WinUI site states. "It also supports familiar languages spanning C++, C#, Visual Basic, and even Javascript via React Native for Windows."

In March, Microsoft launched a new web site for the project, when WinUI was offered in beta.

WinUI 3
[Click on image for larger view.] WinUI 3 (source: Microsoft).

With a scheduled delivery time-frame of "2020," the goals sought in WinUI 3.0 include:

  • full UI stack now decoupled from the OS
  • removing barriers between UWP and Win32 (desktop): works with both
  • support .NET 5 and C++
  • backward-compatible on Windows 10

However, preview 2, announced July 15, doesn't do much to advance those goals.

Rather, "WinUI 3 Preview 2 was a quality and stability-driven release," Microsoft said. "It builds directly on Preview 1 by fixing quite a few critical and serious bugs that didn’t make the cut in time for our release at Build 2020 two months ago. The team wanted to put together a small release post-Build to make sure that WinUI 3 is stable and easy to use for everyone."

However, it's still not ready for use by everyone in production apps.

Microsoft said some notable additions and fixes in this release include:

  • INotifyCollectionChangedand INotifyPropertyChanged are now working in C# Desktop apps
  • WinUI 3 Preview 2 is now compatible with .NET 5 Preview 5 for Desktop apps
  • Point, Rect, and Size members are now Double-typed in the C# projection of the APIs for Desktop apps
  • Crash fixes for Input Validation and other text scenarios

More information is provided in the release notes.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

Subscribe on YouTube