2,969 questions with .NET MAUI tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

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> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-28T12:59:31.58+00:00
Schinwinkwinsky 21 Reputation points
commented 2022-06-29T10:36:33.54+00:00
Schinwinkwinsky 21 Reputation points
0 answers

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…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,414 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-24T11:47:52.727+00:00
Andrei Vinogradov 1 Reputation point
commented 2022-06-29T08:03:35.643+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
0 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-20T18:32:06.313+00:00
dg2k 1,386 Reputation points
commented 2022-06-28T05:58:58.147+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

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:

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-22T11:42:05.797+00:00
Schinwinkwinsky 21 Reputation points
commented 2022-06-28T02:31:10.187+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-17T06:27:35.773+00:00
drmaven 21 Reputation points
commented 2022-06-27T19:48:29.3+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-20T16:11:30.877+00:00
Johannes Hass 1 Reputation point
commented 2022-06-27T09:36:05.59+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,026 Reputation points Microsoft Vendor
0 answers

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: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-24T18:11:33.737+00:00
Jassim Al Rahma 1,526 Reputation points
commented 2022-06-27T08:43:09.56+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,026 Reputation points Microsoft Vendor
0 answers

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
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-24T16:11:57.71+00:00
Manuele Lucchi 1 Reputation point
commented 2022-06-27T08:19:02.31+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

.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
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-07T09:11:19.863+00:00
Andrew Denha 1 Reputation point
commented 2022-06-27T08:13:45.717+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,026 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

.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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,686 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-24T08:10:36.13+00:00
Al 21 Reputation points
accepted 2022-06-27T07:51:08.59+00:00
Al 21 Reputation points
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-26T09:49:08.6+00:00
Tim W 26 Reputation points
commented 2022-06-27T05:06:41.957+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,559 questions
asked 2022-06-13T02:36:40.78+00:00
Yang Yang 46 Reputation points
accepted 2022-06-25T01:04:09.937+00:00
Yang Yang 46 Reputation points
1 answer

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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-07T19:51:38.397+00:00
Sam Basile 21 Reputation points
commented 2022-06-24T08:02:46.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-15T18:03:02.107+00:00
Jeff Pfahl 91 Reputation points
commented 2022-06-24T08:01:25.797+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

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
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-20T20:40:15.597+00:00
Jeff Pfahl 91 Reputation points
commented 2022-06-24T03:28:59.793+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

.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?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-22T14:28:57.773+00:00
JIren 1 Reputation point
commented 2022-06-23T08:08:14.833+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,026 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-21T13:37:40.193+00:00
Lloyd Sheen 1,391 Reputation points
commented 2022-06-21T14:53:25.25+00:00
Lloyd Sheen 1,391 Reputation points
1 answer One of the answers was accepted by the question author.

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"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-20T16:02:40.277+00:00
Devin Michael 21 Reputation points
accepted 2022-06-21T10:14:00.11+00:00
Devin Michael 21 Reputation points
1 answer

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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-17T21:08:11.143+00:00
Parvez ali 6 Reputation points
commented 2022-06-21T07:43:02.667+00:00
Riccardo Minato 6 Reputation points
0 answers

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">…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-20T09:21:51.86+00:00
Parvez ali 6 Reputation points
commented 2022-06-21T07:35:31.86+00:00
Riccardo Minato 6 Reputation points