133 questions
0
votes
2
answers
68
views
Passing data in .NET MAUI Shell navigation without using QueryProperty or public setters
I’m using .NET MAUI Shell navigation with MVVM.
Most examples pass data using [QueryProperty] or public settable properties on the ViewModel. I want to avoid both and follow a cleaner MVVM approach.
...
1
vote
0
answers
556
views
Enable edge to edge display is not working if Shell has Flyout behavior in MAUI app
I have developed MAUI app using Visual Studio 2022 v 17.14.16 and .NET 9 framework.
To enable edge to edge I have done this with below code in MainActivity.cs file.
protected override void OnCreate(...
0
votes
0
answers
54
views
MAUI Shell navigation - Best practice for login prompt
I'm currently planning to migrate to MAUI's Shell navigation aiming to allow URL navigation, and I'm wondering how are usually handled the pages that require to be logged against those that don't. The ...
1
vote
0
answers
34
views
Is there a way to make <ContentPage.MenuBarItems> render for a page on a newly created window?
in .NET MAUI, I am wondering if it is possible to use <ContentPage.MenuBarItems> on pages that weren't navigated to using Appshell.
I have tried to apply this code
<ContentPage....
3
votes
0
answers
194
views
How to navigate while a popup is visible?
I'm trying to make .NET MAUI app with a loading spinner that is visible while navigating between pages in the background.
This worked great using community toolkit popups with .NET 8, but with the new ...
1
vote
0
answers
333
views
How to remove the statusbar color on .NET MAUI without NoLayoutLimits?
My problem is that in .NET MAUI I need to make the status bar transparent. I found the LayoutHasNoLimits command and the CommunityToolkit package as well, but if I set the status bar to transparent, ...
0
votes
0
answers
90
views
How can I bind data to CollectionView in expander content which is nested inside another CollectionView
I have an expander control inside a CollectionView. The top collectionview, groups the items and the grouped item's title is shown in Expander Header.
When the expander is expanded, I want to display ...
2
votes
1
answer
137
views
Flyout Disappears on Window Resize in MAUI Shell Flyout
I'm working on a MAUI app where I have implemented a sidebar using a Shell Flyout. Once the resize event fires the sidebar disappears on the next toggle.
The sidebar has a toggle button to switch ...
0
votes
0
answers
118
views
Default FlyoutMenu icon (hamburger icon) not shown in maui android after navigation, but works fine in windows
Default FlyoutMenu icon (hamburger icon) not shown in .net maui android after navigation, but works fine in windows.
Trying to navigate from MainPage to HomePage using below code
await Shell....
0
votes
1
answer
678
views
MAUI Shell.TitleView: Unable to Remove Padding/Margin on iOS and Android
I am developing a MAUI mobile application and am struggling to customize the header using the Shell.TitleView. The issue is the persistent padding/margin areas around the TitleView that I cannot seem ...
1
vote
2
answers
429
views
How to change the size of MAUI Shell back button? For improved use when using tablets with gloves
I am working on a team developing a MAUI app for engineers. Many of our users have suggested enlarging the back button for better use with gloves.
Image shows me setting IconOverride in AppShell.xaml ...
0
votes
1
answer
206
views
.Net MAUI Regions on screen
In the passed we produced WPF application for grinding machine control, and there used to be navigational regions (Prism WPF). We managed to use them to show Axis data on the side of the app regardles ...
0
votes
0
answers
138
views
Can we use InitializeComponent() in the OnAppearing method in .NET MAUI?
I’m working on a .NET MAUI application where I’ve encountered an issue related to navigation flow and component initialization.
Here’s the scenario:
When the app is launched for the first time, it ...
1
vote
2
answers
514
views
MAUI Back Button not working more than 1 level deep
I'm working with App.Shell and for the most part that's perfect for this app. Occasionally I want to drill a little deeper in the stack of pages, but when I go more than 1 level deep the back button ...
1
vote
1
answer
112
views
How to preserve original icon colors in Shell
Tabbar within a MAUI Shell control has built-in functionality to set tint to selected/unselected icons in bottom bar. Therefore all icons have mono color.
My goal is to highlight background preserving ...