-
Free Syncfusion Toolkit for .Net MAUI
The Syncfusion.Maui.Toolkit is a NuGet package developed by Syncfusion that shares a series of free, open source UI components for creating .NET MAUI (Multi-platform App UI) applications. As for the following features and controls, this toolkit is aimed to amplify the functionality of.NET MAUI but they are not included by default, so using this toolkit…
-
MAUI Error Handling
Error handling is one of the most important tasks during building a stable .NET MAUI application. It allows proper error handling to let your app go from unexpected hitch-ups and provide a nice user experience. In .NET MAUI, you can handle errors in the following ways: ViewModel Level Error Handling I have covered this topic…
-
Extending BaseViewModel for Error Handling
If you are following MVVM, having the exception handled in the ViewModels helps you avoid losing control without your application crashing at random times. The logic for error handling can be extended into BaseViewModel.
-
BaseViewModel for INotifyPropertyChanged Implementation
When using the MVVM pattern in .NET MAUI, implementing INotifyPropertyChanged in each ViewModel can result in a lot of repetitive code. To minimize duplication, it’s best to create a BaseViewModel class that implements the common functionality, allowing other ViewModels to inherit from it.
-
MAUI Supporting Multiple Languages – Localization
Localization in .NET MAUI can enable the application to handle multiple languages. It will be much easier for users from all over the world to get more information about the app in their native language. Create Resource Files for Localization Localization in .NET MAUI uses resource files with the .resx file extension to store key,…
-
MAUI Fontawesome Integration
Download FontAwesome Let’s start with downloading Fontawesome font file from https://fontawesome.com/v5/download Add the Font File to Your Project Place the Font File: Register the Font in MauiProgram.cs In MauiProgram.cs register your custom font so that it can be used in your whole application. Below code save into a new file named IconResources.xaml or whatever you…
-
MAUI Architectural Patterns
Various architectural patterns in .NET MAUI help you design scalable, maintainable and testable applications. No matter how complex an application is, a good application structure obviously creates an opportunity for reuse. This short article will serve as a guide to help you select the right architectural pattern. Below are some of the popular architectural patterns…
-
MAUI Drawings and Brushes
Simple Brushes Filling the background of a control or coloring shapes, text and other UI elements, brushes in .NET MAUI can be used. Brushes include: And these brushes can be applied to a lot of elements, from Frame to BoxView, Shapes, etc. SolidColorBrush The simplest is SolidColorBrush. It is filling the element with one solid…
-
MAUI Animations
Animations are a core feature of the .NET MAUI, using them can create great user experience by playing motion and transitions to your UI elements. With this, its built in methods can help you animate some of the same properties on a control like scaling, rotation, translation, fading. Additionally, you can compose these animations to…
-
MAUI Triggers
Triggers in .NET MAUI allow changing of UI elements appearance or behaviour depending on conditions or events. They provide you abilities to react to property adjusts as well as particular activities immediately in XAML without composing more code in the code behind. Triggers help to keep the UI dynamic and make it quick to implement…