Electronics and eHealth Innovations Transform Healthcare
25 Sep 2023
The .NET MAUI Community toolbox has had a busy month of November with numerous releases that include a tonne of incredible new features. The most recent updates include unique Views, Layouts, support for Tizen, .NET 7 compatibility, and a whole lot more. You’ll learn about all the new features in this post.
The most recent version of Microsoft’s .NET MAUI Community Toolkit includes .NET 7 support and new views and layouts.
The kit is one of many that Microsoft provides. Such toolkits, made available through NuGet, are often collections of helper methods, custom controls, and app services intended to streamline and illustrate everyday developer chores for projects of various kinds.
Microsoft describes the free and open source .NET MAUI Community Toolkit as a community-created library that includes extensions, sophisticated UI/UX controls, converters, and behaviors to make the lives of .NET MAUI developers easier.
The .NET MAUI Community toolbox has undergone several releases recently, as those of you who look at our releases on Nuget may have noticed. An overview of the many versions is worthwhile:
Version 1.4.0: Expander, DockLayout, and StateContainer are included, along with many bug fixes.
Version 2.0.0: Brings full Tizen support for all of our features, including the updates from version 1.4.0
Version 3.0.0: Every feature from versions 1.4.0 and 2.0.0, but built against .NET 7
According to the team’s Dec. 1 announcement, – With this versioning technique, we intend to empower as many developers as possible: everyone on .NET 6 can obtain all the features we’ve merged so far, including Tizen support using v2.0.0. Those using .NET 7 may obtain all the features with v3.0.0,” the statement reads.
Future updates to the toolkit’s features will be focused on .NET 7 compatibilities. Microsoft has been working for years to combine many development packages into “just one .NET going forward,” and this month saw the release of .NET 7.
Let’s take a closer look at a few of the significant new features in the most recent .NET MAUI Community Toolkit updates.
This container control consists of the header and content sections in two parts, allowing users to expand and collapse visual information when tapping a header by pressing the Expander. Header or changing the IsExpanded bindable attribute, developers can reveal or conceal it.
Views can be docked to the sides of the layout container using the DockLayout layout. This makes it a fantastic option in a lot of scenarios when you want to segment the screen into particular regions.
<toolkit:DockLayout>
<Button toolkit:DockLayout.DockPosition=”Top” Text=”Top” HeightRequest=”50″ />
<Button toolkit:DockLayout.DockPosition=”Bottom” Text=”Bottom” HeightRequest=”70″ />
<Button toolkit:DockLayout.DockPosition=”Left” Text=”Left” WidthRequest=”80″ />
<Button toolkit:DockLayout.DockPosition=”Right” Text=”Right” WidthRequest=”90″ />
<Button Text=”Center” />
</toolkit:DockLayout>
This makes it easier to display material dynamically based on an application’s status. Examples include:
“The Samsung team made a significant contribution, adding Tizen compatibility for the .NET MAUI Community Toolkit. By doing this, millions of Samsung TVs, phones, and other devices that run Tizen will now have access to the .NET MAUI Community toolbox.”
They also released a version of the .NET MAUI Community Toolkit based on .NET 7. As a result, those of you who want to make use of .NET 7’s excellent features can do so with the .NET MAUI Community Toolkit.
Microsoft also declared that it would pay attention to the MAUI. Without having to work in XAML, developers may construct their programs utilizing MVVM, Bindings, Resource Dictionaries, and other techniques using the Markup Toolkit, a collection of Fluent C# Extension Methods.
ITextAlignment and App Themeing now have new C# extension methods. Even if you design your custom control, MAUI. Markup automatically generates extension methods for every ITextAlignment control using source generators. Said Microsoft. “MAUI was also given. Additionally, markup the .NET 7 treatment.”