How to create a desktop shortcut?
I have a .net 9 Maui windows application, and need to create a desktop shortcut for it. The code I would normally use for this is:
Using a variable on the left side of a Switch Statement in MAUI
So I have a switch statement that takes single or double character input from the user (what it is can vary due to i18n concerns), and displays Strings that also vary because of i18n.
How can I show the total amount (by calculating the list items) in the collectionview group header by grouping date in .Net Maui
// My Main model of ExpensesDetailModel public partial class ExpensesDetailModel : ObservableObject { [PrimaryKey, AutoIncrement] public int ExpensesId { get; set; } public string? ExpensesDescription { get; set; } public double? Amount { get; set; } public DateTime ExpensesDate { get; set; } = DateTime.Now; } // My expenses group model inherits a List of […]
Android – How do I delete an image from Gallery in .NET MAUI?
I am trying to delete an image programmatically using .NET MAUI, but I get this error:
Android – How do I delete an image from Gallery in .NET MAUI?
I am trying to delete an image programmatically using .NET MAUI, but I get this error:
Maui throws FileNotFoundException only when linking to JSON file from external assembly
I have two projects in a single solution:
Maui throws FileNotFoundException only when linking to JSON file from external assembly
I have two projects in a single solution:
We can’t we simplify BindingContext=”{Binding Source={RelativeSource Self}}” to BindingContext=”{RelativeSource Self}”?
It is a trivial example to illustrate the problem. I want to make the background color depend on the input.
How do I play a simple beep sound, CommunityToolkit.Maui.MediaElement package doesn’t install
I need to play a simple beep sound.
After a lot of research this seems to be one of the best and easiest ways.
Get original model from a group model
Consider the following scenario. I have a model that is defined like the following code