2,969 questions with .NET MAUI tags

Sort by: Updated
0 answers

Editor does not respond to home or end on keyboard

Maui Editor control does not handle Home or End. In fact if you click either twice the app dies. Is MS sure that Maui is ready for GA , I have never seen a release with so many problems. And just updated the 17.3.2

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-23T20:55:50.553+00:00
Lloyd Sheen 1,391 Reputation points
commented 2022-08-24T02:43:48.18+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

Update to VS 2022 does not do what release notes say

So the toolbox in VS is basically useless now. Oh good 17.3.2 release notes say Issues Addressed in this release of 17.3.2 Fixes the Toolbox Nope not fixed. Still useless

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,687 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-08-23T20:49:11+00:00
Lloyd Sheen 1,391 Reputation points
answered 2022-08-23T23:09:40.583+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer

Toolbox for Maui is empty

Add new Maui project. Toolbox is empty. Attempt to load is a complete failure as this menu item does not bring any Maui controls in the add dialog. Somehow production ready is not applicable to Maui at least in terms of VS 2022.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-19T16:01:37.157+00:00
Lloyd Sheen 1,391 Reputation points
commented 2022-08-23T22:42:37.757+00:00
Gary Hayes 1 Reputation point
1 answer One of the answers was accepted by the question author.

Setting a FontFamily Consolas to Editor and Entry controls

Hello All In my Maui application I want to add FontFamily Consolas . I tried the Editor FontFamily property for this but it does not work. please can someone guide me how to do it. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-21T19:12:12.763+00:00
Haviv Elbsz 1,946 Reputation points
accepted 2022-08-23T09:43:20.577+00:00
Haviv Elbsz 1,946 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI .NET Titlebar color Android

Hello everyone, is it possible to change the color of the text of the status banner that displays the times on Android? I use Microsoft. Net MAUI. Thank you for your help.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-17T07:39:54.677+00:00
Olivier Manso 41 Reputation points
accepted 2022-08-23T08:36:10.09+00:00
Olivier Manso 41 Reputation points
1 answer

Disable Maui Blazor title bar

Hi, I'm actually working on a Maui Blazor project to work on Windows, and for this project, I created a custom top bar, where I include some buttons etc... (n°2 on the picture below). But I would like to know how can I remove the default…

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,415 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-08-05T10:06:07.81+00:00
SamihELSAKHAWI 1 Reputation point
commented 2022-08-23T06:54:13.953+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

FontAwesome in MAUI

Hi, I am trying to use FontAwesome in Maui but it's not working and just showing a question mark. I have added the files to my project and set the Build to MauiFont and I configured the fonts: .ConfigureFonts(fonts => { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-20T12:04:03.747+00:00
Jassim Al Rahma 1,526 Reputation points
accepted 2022-08-22T12:56:25.027+00:00
Jassim Al Rahma 1,526 Reputation points
1 answer

Blazor Hybrid (MAUI) app works in iOS simulator, but not during App Review process

I recently finished developing my first Blazor Hybrid app. Everything went swimmingly. So I submitted it to the store and got back a rejection saying it crashes on start. The crash dump was very uninformative and I don't really know what to do next.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-08-18T17:44:44.337+00:00
Robert Chitoiu 1 Reputation point
commented 2022-08-22T09:19:10.817+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
0 answers

How to make dialog overlay transparent?

The code showing alert/dialog is: private async Task<bool> DisplayCancelSessionDialog() { var result = await DisplayAlert("Cancel session", "Are you sure you want to cancel session?", "Yes",…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-05T11:01:47.757+00:00
Dominik Bednarski 1 Reputation point
commented 2022-08-22T02:46:57.377+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

Maui widthrequest for editor control implement

Maui for mobile implement displayinfo Hi l know how to get screen width in pixels and density. and I calculate the required width by dividing width pixels by density. my question is how I implement this width to 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-08-14T06:13:01.333+00:00
Haviv Elbsz 1,946 Reputation points
commented 2022-08-22T02:32:33.597+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

[MAUI .NET 6.0] CollectionView with ObservableCollection is throwing unhandled exception

I'm seeing an issue in my simple MAUI application with an ObservableCollection<string> inside a CollectionView. I can add items, but once I remove an item and then try to add another item I get the UnhandledException: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-17T21:07:26.16+00:00
Steve Chamlee 1 Reputation point
commented 2022-08-22T01:18:07.077+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

what does the mean of x: syntax in xaml?

I'm learning Maui's XAML,but I don't understand the essence of these grammars,such as: x:Class x:Type x:Key x:Static xmlns:x etc Is there a general, easy to understand or essential worlds to describe this rule?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-21T09:53:34.543+00:00
可 可 21 Reputation points
answered 2022-08-21T10:18:06.293+00:00
Castorix31 82,036 Reputation points
1 answer

Any ideas to call the android third party functions?

Hi, Currently, we have developed an android applciation, running on pda (with printe function, call the function by third party package). How can we switch it to maui platform? Is it possible to put the third party package inside the android…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-17T08:27:29.433+00:00
Yuan Jeffers 1 Reputation point
answered 2022-08-18T06:04:56.32+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
0 answers

NET MAUI - Weird UI design on MAC

Hi all, When I run my app using VS preview leatest version on MAC, My UI appear like this, but without change code and run with VS on Windows the UI is correctly, Any comments about it.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-16T17:54:07.027+00:00
Javier Arturo Florian Franco 26 Reputation points
commented 2022-08-18T05:29:53.687+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
2 answers

PushModalAsync using Shell

Hi, How can I PushModalAsync using MAUI's Shell? Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-17T22:17:05.137+00:00
Jassim Al Rahma 1,526 Reputation points
commented 2022-08-18T01:55:12.453+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

ScrollView not working

Hi, I have below XAML that has a BindableLayout inside a ScrollView but when I run the project the view is not scrollable. How can I fix it please? <?xml version="1.0" encoding="utf-8" ?> <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-11T22:13:39.243+00:00
Jassim Al Rahma 1,526 Reputation points
answered 2022-08-17T21:22:05.56+00:00
Josh Pierce 1 Reputation point
0 answers

Frame is not showing in windows

I am transitioning to .Maui from forms I developed a simple app, but on Windows, it looks horrible this is the same on Android XAML code <?xml version="1.0" encoding="utf-8" ?> <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-16T21:05:29.51+00:00
Eduardo Gomez 3,416 Reputation points
commented 2022-08-17T09:08:07.247+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

Issue Quit Unexpectedly on MAC

Hi all I just install leastet VS for MAC version and when I run my app appear this error message

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-16T17:46:38.213+00:00
Javier Arturo Florian Franco 26 Reputation points
commented 2022-08-17T08:27:47.217+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
1 answer

How to add my custom .NET MAUI class library output dlls to .NET MAUI app?

I have created a .NET MAUI class library single project that when built it generates multiple dlls each one inside platform specific folder. Now I am having difficulties figuring out how to reference this class library dlls inside my .NET MAUI app,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-07-26T07:07:05.497+00:00
Tamer Irdais 21 Reputation points
commented 2022-08-17T05:30:02.633+00:00
Tamer Irdais 21 Reputation points
0 answers

How XAML passes parameters to ContentView (C#)

For example string Url;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-08-08T14:50:02.467+00:00
草 草 1 Reputation point
commented 2022-08-16T08:59:53.697+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor