|.NET MAUI Adds Fluid UI Control Styling|
|Written by Kay Ewbank|
|Monday, 10 January 2022|
The latest preview of.NET Multi-platform App UI (MAUI) is now available with .NET 6 and the new Visual Studio 2022 17.1 Preview 2. Among the improvements to the new release are the first batch of Fluent UI control styling, multi-window implementations, control features, and another set of iOS type alignment.
NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
The Fluent UI control styling has been added to bring MAUI into line with Windows 11, which has new UI styling via the updated Fluent Design System. Fluent is an open-source, cross-platform design system that provides a framework for the design of apps for Windows. Fluent Design is based on Microsoft Design Language. This latest NET MAUI preview updates the button, editor and entry controls. Subsequent releases will add more controls and support for themes.
The second improvement of note in this release is support for multi-window apps. The developers say that this is one of the major updates to .NET MAUI compared to Xamarin.Forms. However, it's worth noting that the Windows App SDK implementation of multi-window will be in an experimental release until release in v1.1
This release also includes updated C# templates that now use C# 10 patterns such as implicit usings and file-scoped namespaces, and added item templates for ContentPage and ContentView. The developers say that from this preview, when your project opts-in to using ImplicitUsings you’ll see a cleaner project file.
The final change affects developers targeting Apple systems. The Apple related SDKs have been updated to use the native nint and nuint types in .NET 6 rather than System.nint and System.nuint. If you're using an existing library built for iOS, macOS, and tvOS using .NET 6. and want to make use of the change you'll need to recompile your code against .NET 6.
.NET MAUI is part of the latest .NET preview, and is available now.
or email your comment to: firstname.lastname@example.org