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.

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.