CollectionView ItemsLayout change number of columns
Hello, everybody! Guys, I'm trying to change the number of columns of a CollectionView using AdaptiveTriggers, but I'm not success. Can you help me, please? ... <ContentPage.Resources> <ResourceDictionary> …
How to prevent go back in MAUI Blazor?
Let's imagine a two pages app, created with MAUI + Blazor Hybrid and running on Android. After user navigates from page1 to page2 I don't want to allow him to go back to first one, until certain conditions are met. In native Android app I could simply…
CollectionView on WinUI platform
I am converting a Xamarin app to .NET MAUI. CollectionView control is a major part of the design for displaying grouped items. <CollectionView Margin="6,6,6,48" IsGrouped="True" ItemsSource="{Binding…
Choose SDK version to build and run Maui project on Android
How can I select a specific version of SDK to build and run a Maui app on Android? I have the following sdks and runtimes installed:
How can I add Acrylic/Mica materials in a MAUI app targetting Windows?
With the release of WinUI 3 1.1, I thought I would be able to add acrylic and mica materials to NET MAUI apps that target Windows. However, I have not found a way to make it so that a cross-platform XAML page can include acrylic material for the…
Win11 VS2022 latest Preview Maui & iOS - 0xe8008015 (A valid provisioning profile for this executable was not found)
So, how exactly do I deploy the "Hello World" MAUI app to my iPhone? Here's what I tested / did: Deploying a "Hello World"-Swift project from XCode works. Also successfully paired the Mac to VS on Windows. I tried both…
Error running MAUI on iOS Device
Hi, I have just downloaded Visual Studio for Mac PRE 17.3 (Build 1038) but when I try to run the default MAUI app on iPhone device I get below error: …
How to change app icon based on the configuration in MAUI
My application is white label, so depending on the configuration I need to specify a different app icon. Right now if I select an app icon named differently from appicon and in a different folder than resources, it doesn't work. But this makes me…
.NET MAUI Blazor Hybrid how to intercept open in new tab
I use await JSRuntime.InvokeAsync<object>("open", path, "_blank"); in the .razor pages, how I can intercept this and open: new tab in browse new page in the windows platform same page in the android/ios platform …
.Net Maui StatusBar Control
Hi I have noticed that .Net Maui does not have a control equivalent to the WPF StatusBar control. What would be the best way to achieve this? I imagine that a row in a grid layout could be suitably styled, but I was wondering if there was a…
ICanvas.DrawPath / ICanvas.FillPath ArgumentException
I am trying draw a filled polygon using IDrawable and PathF. I am getting an ArgumentException on canvas.FillPath or canvas.DrawPath, stating that "A call to CanvasPathBuilder.BeginFigure occurred, when the figure was already begun.". I am not…
Is there a sample MAUI application to call c++ libarary
I have a cross-platform library written with C++, I use this library to create model and display it with OpenGL. Now I'd like to choose MAUI to create a desktop application and call above library to complete interactions. Now I need a sample for…
Syntax for Border CorneRradius in Global Style
What is the proper way to set a .NET Maui Border StrokeShape of RoundRectangle with a CornerRadius of 2,2,2,2 in a Global styles resource XAML? Thanks.
How to remove underline from Entry and caret from picker in maui for windows?
Setting the background for Entry removes the underline in Android but not in Windows. Have not found anyway to remove caret from end of Picker in windows.
Is it possible to Provide the StringFormat value in a binding in Xaml from a property on the bindingContext?
When specifying a binding in Xaml I only seem to be able to provide a literal value for the StringFormat. I would like to define the format string on my binding context and have the binding use that.
.Net Maui generating log files in my root directory
While I am running the debugger in an android emulator for some reason log files are added to the root of my project directory. How do I stop this from happening?
When will Maui be available in VS 2022?
Having read many posts it seems like Maui is only available in beta versions of VS? Confused.
Android Deep Linking (Intents) Support in .NET MAUI
I am currently trying to add deep linking support (via Intents) to an Android application written using .NET MAUI. I have added an activity XML element under the application element in my AndroidManifest.xml: <?xml version="1.0"…
Entry in MAUI is blank in Android but has borders in iOS.
Entry/ Editor control is not uniform in MAUI iOS and Android versions of the same app. How to make it uniform.
Passing viewmodel properties as parameters in ValueConverters in .Net MAUI
I am trying to create a custom converter in .Net MAUI app but I am not able to pass ViewModel properties as parameter. This is my Xaml code. - <Button.BackgroundColor> <Binding Path="Category">…