Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer General Hybrid iOS macOS Mobile Shell Tips Visual Studio VS Code Web Windows Xamarin Xamarin.Forms

.NET MAUI: Managing Query Parameters with Shell Navigation

This is an article in the Developer Tips series, which offers concise hints to enhance productivity. You can access all the articles in this series here.

The Shell feature in .NET MAUI is extensive, offering numerous capabilities. This article will focus on managing query parameters within shell navigation in .NET MAUI.

Incorporating query parameters during navigation is paramount in real-world apps, as they enable the transfer of data in scenarios such as transitioning from a list page to a details page, thereby preserving the contextual relevance.

The GoToAsync() method serves as the comprehensive solution for all your navigation needs in Shell and is overloaded to cater various requirements.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer General Hybrid iOS macOS Migration Mobile Tips Visual Studio VS Code Web Windows Xamarin Xamarin.Forms

Transitioning from Frame to Border in .NET MAUI

This is an article in the Developer Tips series, which offers concise hints to enhance productivity. You can access all the articles in this series here.

Border:

From .NET MAUI 9 onwards, the Frame control has been marked as obsolete, paving the way for more robust Border control.

An article has already been published detailing the comprehensive features of .NET MAUI 9.

The Border serves as a container control, akin to the Frame; however, it exhibits significantly greater flexibility, enabling the user to delineate any enclosed geometric shape.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer General Getting Started Hybrid iOS Learn macOS Mobile Tips Video Web Windows Xamarin Xamarin.Forms

Efficient Text Formatting in .NET MAUI with Label FormattedText

This is the fifth article in the recently started series titled Developer Tips, which offers concise hints to enhance productivity. All the articles in this series can be accessed from here.

A label in .NET MAUI is a simple yet powerful View that presents read-only text, like titles, captions, or descriptions.

The Text property holds the string to be displayed and is also bindable.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer Getting Started Hybrid iOS Learn macOS Mobile Tips Web Windows Xamarin Xamarin.Forms

.NET MAUI – Styles

This is the third article in the recently started series titled Developer Tips, which offers concise hints to enhance productivity. All the articles in the series can be accessed from here.

A style is characterized by a collection of interrelated properties that aim to improve resource management within the application. It is defined as a list of Setters. A Setter has a property and a value.

Styles can be incorporated into the Resources property, of type ResourceDictionary, defined at the VisualElement level.