4,172 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

MAUI Picker control, .net 9: the Unfocused event IMMEDIATELY follows the Focused event?

I'm using the MAUI Picker control (ComboBox) on .net 9, Windows, VS 2022 v17.13.6. When the Picker gets focus by the user clicking it, the Focused event fires, but it is immediately followed by the Unfocused event and the drop down list opens. If the…

Developer technologies | .NET | .NET MAUI
asked 2025-05-14T12:32:14.0833333+00:00
Blaise-1597 61 Reputation points
commented 2025-07-03T15:15:28.98+00:00
Blaise-1597 61 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI app crash when execute BindableLayout.SetItemsSource with visual studio 2022 17.14.7

After the command BindableLayout.SetItemsSource(FlexLayout, IEnumerable) in DEBUG environment and WinUI it gives the error: System.ArgumentOutOfRangeException in System.Private.CoreLib.dll Exception thrown: 'System.Reflection.TargetInvocationException'…

Developer technologies | .NET | .NET MAUI
asked 2025-06-30T10:33:22.18+00:00
Anton Moroder 20 Reputation points
commented 2025-07-03T09:18:17.7266667+00:00
Anton Moroder 20 Reputation points
1 answer One of the answers was accepted by the question author.

Push Notification Icon Color Issue in .NET MAUI Local Notifications

I have implemented push notifications using LocalPushNotification in my .NET MAUI app. I'm setting the small icon using: .SetSmallIcon(Resource.Drawable.ic_push_notification_solid) The issue is that the icon is displayed in gray instead of its…

Developer technologies | .NET | .NET MAUI
asked 2025-05-19T18:33:04.48+00:00
Omkar Pawar 255 Reputation points
commented 2025-07-03T08:56:21.3066667+00:00
Omkar Pawar 255 Reputation points
0 answers

Azure DevOps publish fails for MAUI.NET iOS

This is part of my Azure Pipeline:        - task: Bash@3             displayName: Install MAUI             inputs:               targetType: 'inline'               script: |                 dotnet workload update                 dotnet workload install…

Developer technologies | .NET | .NET MAUI
asked 2025-07-02T20:42:25.2366667+00:00
Milad Xandi 0 Reputation points
1 answer One of the answers was accepted by the question author.

OneWay Data Binding Between 2 Content Views not working

I've setup 2 ContentViews: NewContent1.xaml and ChildContentView.xaml using .NET 9. I've added <MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation> to my Project Properties. I'm binding a string…

Developer technologies | .NET | .NET MAUI
asked 2025-07-01T14:04:57.5433333+00:00
krobine-2778 20 Reputation points
commented 2025-07-02T14:48:28.8933333+00:00
krobine-2778 20 Reputation points
0 answers

I keep receiving The parameter is incorrect. Assets/Fonts/Segoe UI.otf is not a valid absolute URI. on Maui WinUI app

I keep receiving The parameter is incorrect. Assets/Fonts/Segoe UI.otf is not a valid absolute URI. on Maui WinUI app, eventhough I don't use this font anywhere and only Sentry seems to find this error. However this error occurs constantly and…

Developer technologies | .NET | .NET MAUI
asked 2025-05-20T14:14:39.6333333+00:00
Hristov, Marian 0 Reputation points
commented 2025-07-02T10:06:45.6233333+00:00
Moose 0 Reputation points
0 answers

how to capture and transform to h264 in .net android?

I am using .net android and I want to capture and transform to h264. I searched that I should start mediaProjection and use a foreground service but i still can not do it. please tell me.

Developer technologies | .NET | .NET MAUI
asked 2025-07-02T08:41:51.13+00:00
mc 5,571 Reputation points
1 answer One of the answers was accepted by the question author.

alignment in chat app

I am doing a chat app with Maui, but I need help with alignment <ContentView x:Class="FireChat.Controls.ChatView" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

Developer technologies | .NET | .NET MAUI
asked 2025-05-29T12:52:16.78+00:00
Eduardo Gomez 3,711 Reputation points
accepted 2025-07-01T20:35:05.1066667+00:00
Eduardo Gomez 3,711 Reputation points
2 answers One of the answers was accepted by the question author.

How to improve tapping feedback in Maui

Hello. Please. how to improve the feedback of tap recognize on a label of one character because the tapping area is small the tapping feedback is lower. In my app I have a grid row with 10 columns and in each grid cell I have a one character label with…

Developer technologies | .NET | .NET MAUI
asked 2025-06-11T07:37:38.9933333+00:00
Haviv Elbsz 2,091 Reputation points
accepted 2025-06-30T12:43:50.61+00:00
Haviv Elbsz 2,091 Reputation points
1 answer One of the answers was accepted by the question author.

Maui toolkit popup window size controling

Hello all. I built a toolkit popup according the Microsoft doc. and I want that the width of the popup window to fill the screen width. How I do that. I tried horizontal option fill but that's not working. Thank you very much

Developer technologies | .NET | .NET MAUI
asked 2023-08-24T14:03:14.2+00:00
Haviv Elbsz 2,091 Reputation points
edited a comment 2025-06-26T04:40:07.9466667+00:00
shalin 0 Reputation points
2 answers

Why Can't I Choose AnyCPU as Platform Target in MAUI Project Properties?

When I try to choose AnyCPU as Platform Target for a MAUI project, the drop-down list returns back to ARM64. What is, therefore, enforcing the ARM64 choice for the project? Visual Studio Version: 17.6.4 .NET SDK Version: 7.0.400-preview.23274.1 .NET…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2023-06-29T06:46:33.4066667+00:00
dg2k 1,416 Reputation points
commented 2025-06-26T03:08:12.1633333+00:00
Saideep Anchuri 9,500 Reputation points Moderator
3 answers One of the answers was accepted by the question author.

.Net Maui Shell navigation, is it possible to keep previouse page state as in NavigationPage (old way)?

I have a listing page with a CollectionView control, when item clicked it opens a details page, when back button pressed on details page, i lose the scoll position on listing page! With Shell navigation the previouse page is rerendered everytime we back…

Developer technologies | .NET | .NET MAUI
asked 2023-11-22T11:14:54.47+00:00
Shaher A 30 Reputation points
accepted 2025-06-25T08:21:14.1333333+00:00
Shaher A 30 Reputation points
0 answers

your system is getting an error exporting cert

I am trying to export an app certificate and your system keeps giving an error

Developer technologies | .NET | .NET MAUI
asked 2025-06-24T16:58:52.6766667+00:00
Paul Jaramillo 0 Reputation points
1 answer

MAUI: Rebuild Error: Type androidx.collection.ArrayMapKt is defined multiple times

I am getting below error when rebuilding in release mode: 1>MSBUILD : java.exe error JAVA0000: Error in…

Developer technologies | .NET | .NET MAUI
asked 2025-05-21T11:53:58.3166667+00:00
Sreejith Sreenivasan 1,001 Reputation points
answered 2025-06-24T08:36:42.3266667+00:00
Mathieu Jacquinot 1 Reputation point
2 answers

How do you get View Page from its associated ViewModel programmatically?

There are rare occasions where I want to get a View Page object from its own ViewModel. Don't worry about the oft-said warning of: "don't break the MVVM pattern". I just want to get the View Page from its ViewModel programmatically. I can do…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2023-05-06T17:02:50.2533333+00:00
dg2k 1,416 Reputation points
commented 2025-06-22T21:56:48.86+00:00
Mehdi Mieg 0 Reputation points
1 answer

iOS App crash on version 15.8.4

My iOS app crash on version 15.8.4 and getting this error- Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[UIBarButtonItem initWithBarButtonSystemItem:primaryAction:menu:]: unrecognized selector sent to instance…

Developer technologies | .NET | .NET MAUI
asked 2025-06-20T15:19:28.54+00:00
Bhuwan 996 Reputation points
answered 2025-06-20T15:28:51.3+00:00
Bruce (SqlWork.com) 78,311 Reputation points Volunteer Moderator
0 answers

how to change the color of the rippleDrawable of button in .net android?

I am using .net android and how to edit the color of the rippleDrawable of button in .net android? I have set the colorstatelist of enabled but it not changed.

Developer technologies | .NET | .NET MAUI
asked 2025-06-19T04:33:48.56+00:00
mc 5,571 Reputation points
2 answers

UI freezes for sometime after UI binding

My data is binding to UI quickly but the UI freezes for few seconds and I have only 2 records. I am loading data in ContentView Loaded event var newStops = await Task.Run(() => { return response.Stops .OrderByDescending(x =>…

Developer technologies | .NET | .NET MAUI
asked 2025-06-15T17:09:15.28+00:00
Shashank Gaddam [C] 20 Reputation points
answered 2025-06-16T05:35:47.4466667+00:00
Shashank Gaddam [C] 20 Reputation points
0 answers

Can I use getManufacturerSpecificData in StartDiscovery in .net android?

how to use getManufacturerSpecificData in StartDiscovery not StartLeScan?

Developer technologies | .NET | .NET MAUI
asked 2025-06-16T04:07:43.9533333+00:00
mc 5,571 Reputation points
1 answer

Unable to Authenticate MAUI Application on Android

I have a Blazor hybrid app that successfully authenticates against Azure client OpenID authentication scheme on windows but fails on android device. Is there a working example to reference specifically for Android?

Developer technologies | .NET | .NET MAUI
asked 2025-06-14T21:29:52.3133333+00:00
Onyango, David 31 Reputation points
answered 2025-06-15T21:35:29.96+00:00
Onyango, David 31 Reputation points