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 MAUI Android Blazor C# Desktop Developer Events General Hybrid iOS Learn macOS Mobile MSBuild Web Windows Xamarin Xamarin.Forms

Microsoft Build 2024: AI-Focused Sessions and .NET Highlights

It’s the month of May, so it’s time for Microsoft Build, its annual developer conference, where it’ll showcase the innovative features to the community.

It’s the age of AI, which is disrupting the status quo. So most of the sessions are scheduled along that line as expected.

For .NET MAUI, Blazor, and C#, these are the highly recommended sessions to watch.

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.

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

.NET MAUI – Margin and Padding

Starting a new series titled Developer Tips which offers small hints to enhance developer productivity. All the articles in this series can be accessed fromĀ here.

We’ll start with the Margin and Padding that effectively position the View.

Both the properties have been appropriately defined at the View level and are of the type Thickness, which is a structure that defines 4 important properties: Left, Top, Right, and Bottom.