4,172 questions with Developer technologies | .NET | .NET MAUI tags
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
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
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
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


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
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
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
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
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
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
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#
.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
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
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
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#
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
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
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
Can I use getManufacturerSpecificData in StartDiscovery in .net android?
how to use getManufacturerSpecificData in StartDiscovery not StartLeScan?
Developer technologies | .NET | .NET MAUI
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?