Content
How to set width of a FlyoutPage.Flyout?
In Shell we have the FlyoutWidth property but in FlyoutPage I cannot find anything similar. I tried WidthRequest on the FlyoutPage.Flyout page and some other fields but none of them worked.
'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.)
I want to receive and display push notifications on my iPhone/iPad but I get the following message in Visual Studio for Mac: 'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.) I use .NET…


Layout design for mobile and desktop (width, height and density)
I want to display data tables in an application on mobile as well as in the web browser or on the desktop and I want it to look appropriate. My idea is to show or hide the table columns depending on the width of the screen ( Note: I can open the row…


Visual Studio Community 2022 (64-bit) v17.4.4 not showing any compile time errors for MAUI project.
Hi, I am using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.4 for my MAUI projects but is not showing any compile time errors . is it any plugin missing?


Help with CommunityToolkit.MVVM
Hi, I am trying to use the CommunityToolkit.MVVM but when setting the two values in my sample vcard and color it's not getting Binded later on. the Popup as you can clearly see in the sample. https://www.softnames.com/temp/MVVMApp.zip Kindly…


Call Windows open popup/alert/dialog platform specific code
Hi, I would like to open from platform specific code an alert in Windows. I know I can do it from await Application.Current.MainPage.DisplayAlert("dad", "dsadas", "cancel"); but I want it from platform specific. So…


Why is Android is not automatically scroll ViewElement into view when keyboard appear?
In .net-Maui, When I add a ViewElement in a scrollView and the keyboard appear, the keyboard is hidding the ViewElement. If I remove the ScrollView it works fine, but then I can't scroll the content. On Xamarin, Android will automatically scroll the…


[iOS] Set color for Shell Tab item programmatically on page NavigatedTo
Can I manipulate a specific Tab by changing the color when I navigate to it? Or override on ContentPage the current defined styles for Shell in styles when navigating? Or even set a fixed color for Icon & Text specifically for iOS in…


Publicly declare Contacts
Hi, How can I publicly declare the following: var contacts = await Microsoft.Maui.ApplicationModel.Communication.Contacts.GetAllAsync(); something like this: Contacts contacts; contacts = await…


Is there a Event handler available on .Net / c++ /c# for Wireless profile added event and deleted event?
I want to register a Windows app for listening to Wireless profile changes (Addition or Deletion) performed on Windows settings or by executing netsh commands from CMD. Is there any event handler available for the same? If yes, how to register for the…


Loop through Controls in ScrollView and Get the Data
Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …


SideBar Nav Menu
Hello Friends. Has anyone ever used a side nav bar menu (kind of like a bootstrap Menu) in their .Net Maui windows app? Thanks !!!


APT2144 invalid file path
VS 2022 Preview... Trying to build and run "Notes" tutorial getting 2 APT2144 invalid file path error in file Xamarin.Android.Aapt2.targets. Error message gives a file path, which I can find using File Explorer. Help on error message says it…


getting errors while migrating to MAUI
I have tried migrating existing forms project to MAUI I have used .NET Upgrade Assistant dotnet tool and ran these commands dotnet tool update --global upgrade-assistant upgrade-assistant upgrade <path to sln or csproj> --non-interactive…


iOS application getting crashed "Could not set up parent class, due to: Invalid generic instantiation"
In a .Net MAUI project app is getting crashed when I am deploying it on device. below is the exception I am getting Any idea why this is happening always?


Image TapGestureRecognizer not working inside CollectionView .NET MAUI
i'm using MVVM pattern, i want to handle when user click on X icon, i'm using TapGestureRecognizer, but it isn't fired Does anyone has a solution for this? many thanks [RelayCommand] public void CloseBreadcrumbTapped(BreadCrumbViewModel selectedItem) { …


adding custom font in .net maui does nothing on android
Also my font is not showing on my label, that is 100% not a chewy font, however its in there like it is supposed to: public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder …


Shell Navigation and using a Dictionary to pass values.
I am trying to learn how to pass complex data types to a page using a Dictionary. As you can see in the example code below that Name was hardcoded, but I was wondering what is the best practice if I wanted to dynamically set the Name property in the view…


How do you clear all cookies before loading a site using WebView on Windows
I'm working on a .NET MAUI Application targeting .NET 6 and have a hard time clearing the cookies before using a WebView to load a site on Windows. How do you interface with underlying cookie manager in this scenario?


What is the MAUI equivalent of .NET Core's `_Layout.cshtml`?
You see, there's this image which needs to show up on every page of my MAUI app, and if it were a .NET Core app, I'd simply add it in _Layout.cshtml. However, with MAUI, I don't see a way of doing that easily. How would I go about this?

