3,916 questions with .NET MAUI tags

Sort by: Updated
1 answer

Updating ListView in .NET MAUI After Modifying an Item

How can a ListView be updated when an item in the bound ObservableCollection is modified while using the MVVM .NET Community Toolkit? The ListView's ItemsSource property is bound to an ObservableCollection, and the ViewModel inherits from the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,288 questions
asked 2025-02-11T22:52:31.6833333+00:00
Tom Meier 260 Reputation points
answered 2025-02-12T02:26:03.31+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,701 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

When users sign in to my app I can't get their Google profile info

Please view here. The issue is carefully documented with all screen shots etc: https://stackoverflow.com/questions/79424370/how-do-i-get-google-users-profile-details-such-as-their-name-and-pic I ended up with a duplicate question because this Microsoft…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,664 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
3,021 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,181 questions
asked 2025-02-10T05:27:30.4+00:00
Mark Evans 5 Reputation points
accepted 2025-02-12T01:12:06.14+00:00
Mark Evans 5 Reputation points
1 answer

Is it recommended to use "StackLayout" in MAUI?

I understand that in MAUI there are objects like VerticalStackLayout, which are better optimized, but when creating slightly more complex objects, I have found it better to continue using the classic StackLayout since it processes the properties…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-11T14:00:23.9333333+00:00
Kevin Anchapaxi 0 Reputation points
edited an answer 2025-02-12T01:08:48.6866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,261 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Programatically restart app on Android - MAUI

Hi to all, As per title I want to programatically restart the app and I am using the below code. The problem is that it is not restarting the app, it is somehow closing it but it remains in background and it does not appear automatically I have to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2024-07-25T07:49:04.6866667+00:00
vanKraster 201 Reputation points
commented 2025-02-11T23:51:35.1733333+00:00
Chuck Krutsinger 1 Reputation point
0 answers

I'm having an issue with​ Android SDK not found​ in Visual Studio Code on Mac​(For Run .Net maui)

Error : Android platform failed with an unexpected error: The type initializer for 'AndroidSdk.SdkLocator' threw an exception.. Please verify the Android SDK and JDK installation. Additional information: Android studio​ (required SDK Tool and emulator)…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,100 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-09T03:11:31.2366667+00:00
รชต เคช 20 Reputation points
commented 2025-02-11T16:02:28.8666667+00:00
Jean Pierre Huynh 0 Reputation points
1 answer

how to install APP in android in maui?

I will download new version update and install it in my android device.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2024-04-26T01:06:26.5333333+00:00
mc 5,141 Reputation points
commented 2025-02-11T12:44:44.9966667+00:00
Muhammad Abdullah 0 Reputation points
1 answer

How to use/bind the ExternalAccessroy for ios in .net MAUI targeting 9.0

Hello team, When I am trying to create an ipa file in release mode in IOS from Visual Studio 2022 I am getting the below errors when I am keeping <MtouchLink>SdkOnly</MtouchLink> I am not finding any articles/documentation on how to use it.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-10T06:17:26.5033333+00:00
Rahul Shreebastav 0 Reputation points
commented 2025-02-11T11:45:07.9233333+00:00
Rahul Shreebastav 0 Reputation points
1 answer One of the answers was accepted by the question author.

getting error on picker when binding data CommunityToolkit.Mvvm

xmlns:viewModels="clr-namespace:Dev.ViewModels" xmlns:models="clr-namespace:Dev.Models" x:DataType="viewModels:LoginViewModel" <Picker ItemsSource="{Binding Genders,Mode=TwoWay}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-10T10:21:01.89+00:00
Bhuwan 781 Reputation points
accepted 2025-02-11T09:46:24.21+00:00
Bhuwan 781 Reputation points
1 answer

Transition from 8 to 9 in maui not worked

Hi, Target: move maui app from .net 8 to .net 9 in Mac. Documentation: https://learn.microsoft.com/en-us/dotnet/maui/whats-new/dotnet-9?view=net-maui-9.0#upgrade-from-net-8-to-net-9 Problem:App not working without debugging. Steps: I did all steps in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-05T10:19:41.5433333+00:00
Dani_S 4,081 Reputation points
edited a comment 2025-02-11T08:11:04.74+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,701 Reputation points Microsoft Vendor
0 answers

How to draw the path as imaged attached

Need to draw the path as shown in the image in .NET Maui, it was implemented in Xamarin forms while converting to MAUI path are not creating same as Xamarin forms used same coordinates to create the path, please help us to create the path. It was…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-05T08:28:48.0533333+00:00
Jeyamani Sekar 0 Reputation points
commented 2025-02-11T08:05:14.47+00:00
Jeyamani Sekar 0 Reputation points
0 answers

How to fix Expand and Collapse issue of CollectionView control on MAC?

Hello, Application is developed in .Net MAUI and supporting both platforms , MacOS and Windows. On MAC 14.2 and 15.3, I am using CollectionView to display list of items and on clicking ImageButton of type 'ActivityStep', we are setting IsVisible =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-11T07:28:09.5233333+00:00
Chaitrali Joshi 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Set `x:DataType` in XAML for a Tuple

How to set x:DataType in a DataTemplate to a Tuple in XAML? An example that includes primitives, system-defined types, and custom types would be appreciated.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-11T03:51:59.25+00:00
ishebewhat 61 Reputation points
accepted 2025-02-11T06:47:16.06+00:00
ishebewhat 61 Reputation points
1 answer

Touch events on background elements triggered when popup is open in .NET MAUI

I am using a ContentView as a popup in my .NET MAUI app. The popup displays correctly, but when I tap inside the popup (e.g., on the title), touch events from background elements (like a Entry or Button) are still triggered. This causes issues like the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-10T10:13:09.31+00:00
KarPreet 80 Reputation points
commented 2025-02-11T05:54:41.5833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,261 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Compiled Bindings and ItemDisplayBinding in Xamarin.Forms Picker

Setting x:DataType on the page element works for the Picker's ItemsSource, but not for ItemDisplayBinding. Warning XC0022 (Binding could be compiled to improve runtime performance if x:DataType is specified.). It seems there is no workaround for this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-10T04:09:33.38+00:00
ishebewhat 61 Reputation points
accepted 2025-02-11T03:36:41.0133333+00:00
ishebewhat 61 Reputation points
0 answers

Duplicate App shortcuts

I have developed an app in app in Maui and I have created an .apk for it. After The apk gets installed , It creates two icons and when I try to uninstall one, both of them gets uninstalled at the same time. I have already created and deployed two small…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-06T16:56:26.7766667+00:00
Pearl 61 Reputation points
commented 2025-02-11T02:47:54.8866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,701 Reputation points Microsoft Vendor
1 answer

XC0009 Error: No Property, BindableProperty, or Event Found for Border Class in .NET MAUI

I am encountering an XC0009 error while working with .NET MAUI and would appreciate any assistance in resolving this issue. Screenshot 1: Screenshot 2: In Screenshot 1, while writing the 'Shadow' property for the "Border" class, the Build +…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,288 questions
asked 2025-02-10T12:40:14.9566667+00:00
Soumyadip Majumder 80 Reputation points
answered 2025-02-11T01:48:09.3866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,701 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how to use my font in UIGraphics in MAUI?

.ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); }); how to use this font in UIGraphics in ios? new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-06T13:00:53.0866667+00:00
mc 5,141 Reputation points
accepted 2025-02-10T11:16:10.35+00:00
mc 5,141 Reputation points
0 answers

MAUI CollectionView selected item not shown as selected

Hello. I starts to learn MAUI Enterprise apps patterns and I found en error (or unexpected behavior) in CollectionView. In my example, I have TrainingsViewModel whitch have ObservableCollection of TrainingViewModel property named as AllTrainings. This…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,100 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-08T21:06:15.0066667+00:00
Lukas Hubacek 0 Reputation points
edited the question 2025-02-10T10:44:11.26+00:00
Lukas Hubacek 0 Reputation points
1 answer

Error when attempting to connect to a Mac

I am getting and error when attempting to connect to my Mac to build my Maui App. The UI says Error: 'I' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0. The log files show the error details below. I have cleared all the caches,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-01T04:00:48.85+00:00
Aaron Robertson-Hodder 0 Reputation points
commented 2025-02-10T09:09:59.3166667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,351 Reputation points Microsoft Vendor
1 answer

Visual studio 2022 Maui project unable to compile for .net 9.0-ios target

Hi, I am trying to deploy a test app to iPhone from windows visual studio but getting the following error when trying to compile. The specified network password is not correct. I have completed the automatic provisioning : I obviously have no problem…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,916 questions
asked 2025-02-02T07:27:26.12+00:00
Ryan Lee 25 Reputation points
commented 2025-02-10T07:59:37.5066667+00:00
Fredrik Hansson 0 Reputation points