2,748 questions with .NET MAUI tags

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

CornerRadius not working correctly for Comminitytoolkit Maui popup

Hi Team, I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33. Using CommunityToolkit popup I am unable to get the corner radius working correctly. Corner radius is not getting cut. Details of pop up xaml file…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T05:19:55.2633333+00:00
salilsingh-9961 346 Reputation points
accepted 2023-11-04T12:36:06.5166667+00:00
salilsingh-9961 346 Reputation points
1 answer One of the answers was accepted by the question author.

Cannot read JSON file MAUI

employees.txt @page "/FetchData" @inject HttpClient Http @using Microsoft.AspNetCore.Components.Forms @using System.Net.Http.Json <PageTitle>Activity Dropdown</PageTitle> <h3>Activity</h3> <EditForm…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T14:40:04.4233333+00:00
Anonymous
accepted 2023-11-04T09:19:13.9833333+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Net Maui custom control (expansionpanel) why is not display the view of HeaderContent ?

<?xml version="1.0" encoding="utf-8" ?> <ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-31T23:25:07.6366667+00:00
Sami 846 Reputation points
accepted 2023-11-03T12:50:06.26+00:00
Sami 846 Reputation points
1 answer One of the answers was accepted by the question author.

How to activate a window in .net maui on Mac Catalyst

I have a .Net Maui Desktop application working on mac catalyst with multiple windows. I want to Activate (focus, bring to front) a secondary window when its under my primary window. (To do this under windows see :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-02T09:43:06.6166667+00:00
Ramin Khalili 60 Reputation points
accepted 2023-11-03T11:23:43.3333333+00:00
Ramin Khalili 60 Reputation points
1 answer One of the answers was accepted by the question author.

Content of msix deployment folder

Hi, Can you please describe what is the role of each file? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T12:51:30.0933333+00:00
דני שטרית 2,486 Reputation points
commented 2023-11-03T09:44:53.16+00:00
דני שטרית 2,486 Reputation points
1 answer

Putting * in .Net MAUI label

Hi Team, I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33. Please provide me solution for below - Inside a label, I need to show * in red text, at end of text (like - Enter Data *), This label is followed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-30T06:47:59.93+00:00
salilsingh-9961 346 Reputation points
edited the question 2023-11-03T07:43:56.4333333+00:00
Tianyu Sun-MSFT 26,311 Reputation points Microsoft Vendor
0 answers

Type converter failed: Exception has been thrown by the target of an invocation.

**UPDATE** I updated a Xamarin Forms app to .NET Maui. It appears this line is a problem. It results in Error inflating class com.google.android.material.appbar.AppBarLayout <com.google.android.material.tabs.TabLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-31T20:17:35.3833333+00:00
Jerod Motley 0 Reputation points
commented 2023-11-03T07:01:07.21+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

Net Maui Shell How to back button command for multi pages ?

I have multi pages on shell navigation like this await Shell.Current.GoToAsync("/aaa"); await Shell.Current.GoToAsync("/bbb"); await Shell.Current.GoToAsync("/ccc"); await…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-31T23:06:08.3233333+00:00
Sami 846 Reputation points
commented 2023-11-03T05:57:35.6466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
1 answer

How do I declare Lists in Blazor MAUI App

How do I declare Lists in Blazor MAUI App?, the below code gives error. Blazor MAUI App giving Error with List. I want to create a quiz app using question and answers. Load questions ,answers into list. Random numbers can be increased from 1 to n. @page…

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,350 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-02T16:00:29.02+00:00
Anonymous
commented 2023-11-03T02:12:12.5133333+00:00
Bruce (SqlWork.com) 53,501 Reputation points
0 answers

Android device fails to connect to local host API through WiFi (.NET Maui app.)

For some reason I can no longer connect to my local .NET Core web API when testing on my Android phone (plugged in via USB). Nothing has changed in my code, however there were 3 Windows 10 updates done, but I could not see anything in the updates that…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,079 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-26T13:29:05.06+00:00
Will 0 Reputation points
commented 2023-11-02T16:39:48.8733333+00:00
Will 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to activate a window in .net maui

Hi All I have a .Net Maui Desktop application (windows, mac catalyst) with multiple windows. I want to Activate (focus, bring to front) a secondary window when its under my primary window. Lets say a Button in my primary window opens a secondary…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T07:50:15.2666667+00:00
Ramin Khalili 60 Reputation points
accepted 2023-11-02T09:34:18.3766667+00:00
Ramin Khalili 60 Reputation points
1 answer

How to define Primary and Secondary Accent Colors for Android-Maui?

I understand that AppThemeBinding markup extension goes a long way to define Dark Theme and Light Theme for a MAUI app. But how to define Dark and Light themes for android accent color such as the ones used for RadioButton and CheckBox selections and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-31T06:23:17.8033333+00:00
dg2k 1,381 Reputation points
answered 2023-11-02T07:13:31.07+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
0 answers

Stroke of the Border is in double color in lower opacity[Android]

In Android platform while increasing the stroke thickness of Border the opacity of the stroke is also reduced, if do this the Border is in double color? How can I resolve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T11:44:45.0366667+00:00
Vijayadharshini M 20 Reputation points
commented 2023-11-02T06:37:43.36+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

install maui in enviorment that have no internet failed

Hi, I installed offline vs 17.5.4 in enviorment that have no internet. I open brand new maui app and there are errors of: Severity Code Description Project File Line Suppression State Error NU1301 Unable to load the service index for source…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T08:02:01.06+00:00
דני שטרית 2,486 Reputation points
accepted 2023-11-02T05:29:56.9766667+00:00
דני שטרית 2,486 Reputation points
0 answers

Opacity is not applied for frame and Label in Android

The transparancy is not achieved while decrease the opacity of the background colour in Frame and Label. This is occurring in Android Is this can be resolvable?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T11:49:38.36+00:00
Vijayadharshini M 20 Reputation points
commented 2023-11-02T05:15:55.0666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
2 answers

How to Fix this error APT2000 expected reference but got (raw string) #000000.

Hi There, When I try to run the .Net Maui project on android Emulator I found run time error say that. "Severity Code Description Project File Line Suppression State Priority Error APT2000 expected reference but got (raw string)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-06-04T06:37:21.5333333+00:00
Ahmed Thabet Elshamandy 35 Reputation points
commented 2023-11-02T03:56:33.54+00:00
Jananan Sellathurai 0 Reputation points
0 answers

Opacity has no effect on label background colour in .net maui Android

In Android While giving lower opacity value to the Label background colour, it is not transparent. Why? How can I achieve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T04:32:28.86+00:00
Vijayadharshini M 20 Reputation points
commented 2023-11-02T03:03:20.39+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
1 answer

Focus of Editor is missing in .net Maui

Currently I am working with Editor of .net Maui.I have placed the Editor within Border . Initially the editor is read only.Added the tapped gesture listener to Border. while tapping on the border I have make the IsReadOnly of editor false.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-10-31T07:05:25.51+00:00
Vijayadharshini M 20 Reputation points
answered 2023-11-02T01:43:36.6+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

MAUI reading files is terrible and many things just don't work

Ok simply I have a file that I want to read. I add the file to the solution and set it's properties to MauiAsset (as per documentation). Now if I use Android the OpenAppPackageFileAsync will "work". When it doesn't it is because the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,514 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-11-01T20:28:53.5666667+00:00
Lloyd Sheen 1,351 Reputation points
commented 2023-11-01T21:44:27.73+00:00
Bruce (SqlWork.com) 53,501 Reputation points
3 answers One of the answers was accepted by the question author.

Net Maui how to change status bar and navigation bar colour

how to change status bar and navigation bar colour, Android and Ios In App 2 themed colours I want to change status bar colour and navigation bar colour also I want to change the status bar colour and navigation bar colour when shell tabs are clicked or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,748 questions
asked 2023-08-06T07:32:35.0366667+00:00
Sami 846 Reputation points
accepted 2023-11-01T12:34:20.81+00:00
Sami 846 Reputation points