Questions tagged [maui-windows]
148 questions
3
votes
1 answer
CollectionView rowspacing
I try to use a CollectionView to display simple tabular text.
It seems like the (visual) minimum spacing between rows in a CollectionView is quite large.
In my case I'm using some Labels within a DataTemplate, all with default values (except for the…

EuroEager
- 167
- 1
- 2
- 11
3
votes
0 answers
CollectionView scrollbars visibility
CollectionView VerticalScrollBarVisibility="Always" does not imply a scrollbar which is always visible (as the enum name seems to state), rather (this is on a windows 10 machine), the scrollbar is visible only by hoovering mouse where it eventually…

EuroEager
- 167
- 1
- 2
- 11
2
votes
1 answer
Email in .Net MAUI on Windows is supported, but throws an exception
I have a .Net MAUI app. I have the following code to send emails (taken from https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/communication/email?view=net-maui-7.0&tabs=windows):
try
{
if…

David Shochet
- 5,035
- 11
- 57
- 105
2
votes
2 answers
.Net Maui - ShellContent navigation issue
I am trying to navigate to page "TestView" which is in folder "Views" of my VisualStudio solution.
Here the compile Error.
Error XFC0000 Cannot resolve type ":TestView"
AppShell.xaml file
…

Jean-Marc Flamand
- 939
- 3
- 10
- 24
2
votes
3 answers
dotnet maui how to hide the back button on desktop?
I'm trying to hide the backbutton shown in the image on desktop, but no matter what I tried, then it keept showing up.
I have tried

Joshlo
- 734
- 3
- 9
- 25
2
votes
1 answer
MAUI DisplayAlert() When User Closes Window : Getting Unhandled Exception
I want to show an ALERT/POPUP to the user to ask him/her before he closes the Application.
This is what I am already doing :
In App.xaml.cs
Application.Current.MainPage.DisplayAlert this line throws unhandled exception,
The Exception gets unhandled…

BNG016
- 164
- 1
- 7
2
votes
1 answer
.Net MAUI IFilePicker error, Value does not fall within the expected range, if built with msbuilder
I'm building an app for windows only, that needs to consume a docx file using .net MAUI.
I use the suggested class IFilePicker, implemented it, and worked fine while debugging (both in debug and release mode).
So, after finished a preview version, I…

Adley
- 511
- 1
- 6
- 19
2
votes
0 answers
Access local resource in windows and mac desktop apps with .net MAUI
Is there a way I can access the local hard drive (all folders) while writing a desktop app for windows and mac using .net MAUI.
Tried looking at the docs site and nothing as such available there.
This also includes calling a CLI app running in…

Satyajit
- 1,971
- 5
- 28
- 51
2
votes
1 answer
I have a DataTable. I want to print it on Maui. How can I do that? Or something similar to wpf's DataGrid
I have a DataTable. I want to print it to the interface Maui. How can I do that?
In WPF I did it like this on C#:
gridPrinted.ItemsSource = myclass.GetDataTable().AsDataView();
WPF XAML:
anon
2
votes
1 answer
Convert CanvasRenderTarget to ImageSource in WinUI
I'm working on .Net MAUI and I used native rendering in my application. So for Windows (WinUi-3), I have drawings rendered on the CanvasRenderTarget object and now I have to provide this as ImageSource(MAUI) to the user.
I tried to get Pixels from…

Bharani
- 41
- 5
2
votes
1 answer
Getting error in Visual Studio in bin Bin folder "appxrecipe" is missing or malformed
I had created a new Maui project and ran the project on windows. It's giving me an error
Severity Code Description Project File Line Suppression State
Error DEP1600: The list of content files in the recipe file "xxxx.appxrecipe" is…

Sanjana Patel
- 21
- 1
1
vote
1 answer
Net MAUI shadows not loading at runtime WINDOWS
I run upon this bug which does not allow me to have shadow at runtime, pretty odd.
If I attach the shadow to a pre rendered control it will work. but i'm trying to add shadow to a rendered collectionview datatemplate, whenever i modify in hotreload…

Francisco José Goñi
- 55
- 6
1
vote
0 answers
NET MAUI "A cycle occurred while laying out the GUI."
I know this is a generic bug but i haven't see any kind of solution towards this kind of exceptions.
I know this happens when i resize or add more content on runtine and then resize.
Whenever i shrink the window my app crashes and throws a generic…

Francisco José Goñi
- 55
- 6
1
vote
1 answer
Maui Platform namespace is not recognised
I am implementing a project in my Maui app to display a pointer over buttons and links on Windows. (vladislavantonyuk.github.io/articles/Setting-a-cursor-for-.NET-MAUI-VisualElement/)
At the class CursorBehavior I need to import the platform…

Frank Mehlhop
- 1,480
- 4
- 25
- 48
1
vote
1 answer
How to hide Taskbar icon for .NET MAUI desktop application
I have created an MAUI app and I want to hide its icon from Taskbar:
Anyone knows how to do it?
I was searching for a solution in internet but without success. I expect to have a simple solution. Thanks in advance!

Blerim Sherifi
- 23
- 3