Microsoft .NET MAUI Preview 11 Updates Windows UI Style

1 credit

Preview 11 of Microsoft’s .NET MAUI (Multi-platform App UI), a cross-platform development framework for building native mobile and desktop apps, has arrived, bringing preliminary UI style support Windows 11 and support for multi-window applications.

An evolution of Xamarin.Forms, .NET MAUI enables .NET developers to build native apps for iOS, Android, macOS, and Windows with C# and XAML. The latest preview, which was unveiled on January 5, runs on the latest .NET preview and is available with Visual Studio 2022 17.1 Preview 2 on Windows.

To support Windows 11’s UI style based on the Fluent Design system, Preview 11 includes updates to MAUI’s Button, Entry, and Editor controls. Windows 11 includes updated Fluent and .NET MAUI style controls to use the latest version.

Also featured in .NET MAUI Preview 11 is the introduction of multi-window support in applications, a major upgrade over Xamarin.Forms. Application.Current.Windows contains references to all created windows. The multi-window Windows App SDK implementation will be in an experimental version for now.

Meanwhile, the patterns have been updated to use C#10 patterns such as implicit uses and file-deleted namespaces. Item templates have been added for ContentPage and ContentView.

To unify Xamarin SDKs with .NET 6, Microsoft has updated Apple-related SDKs to use nint and nuint types in .NET 6 rather than System.nint and System.nuint. This impacts libraries for iOS, macOS, and tvOS using .NET 6. To adopt this change, developers must recompile code with .NET 6.

To explicitly use any of these types, developers must update their .NET 6 code to use C# types. Additionally, new documentation has been released for .NET MAUI.

Join the newsletter!

Error: Please verify your email address.

Microsoft Tags

Comments are closed.