Microsoft Q&A

.NET MAUI

902 questions

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.

Browse all .NET tags

902 questions with .NET MAUI tags

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

Get Contact details by Id

Hi, How can I get the Contact details by its Id? like this: var contact = await Microsoft.Maui.ApplicationModel.Communication.Contacts.Default.PickContactAsync("contact-id-here"); Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-19T22:50:06.6066667+00:00
Jassim Al Rahma 1,126 Reputation points
accepted 2023-01-28T10:06:19.1333333+00:00
Jassim Al Rahma 1,126 Reputation points
0 answers

Does XAML (UWP) Visual Designer in Blend for Visual Studio 2022 work on Windows 10?

I am trying to design a C# Maui UI in XAML. I read that you can use Blend for Visual Studio to visually program XAML code. So, I loaded a new C# Class project in Blend to attempt an XAML visual edit, though the "Design" tab says "Visual…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,441 questions
Universal Windows Platform (UWP)
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
559 questions
asked 2023-01-26T20:24:50.2266667+00:00
Eli Blankenship 0 Reputation points
commented 2023-01-27T16:05:16.8666667+00:00
Eli Blankenship 0 Reputation points
1 answer One of the answers was accepted by the question author.

Shell Navigation and setting Parameter Values

I have included the code that I am using to pass parameters from one view to another view using shell navigation. The issue I am having is that I would like to set my model properties using for example the text entry control. Do I do that using a relay…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-26T16:27:01.2666667+00:00
Ronald Rex 531 Reputation points
accepted 2023-01-27T14:10:24.3+00:00
Ronald Rex 531 Reputation points
1 answer One of the answers was accepted by the question author.

Shell Navigation and passing Parameter Values

Hi friends, I was wondering how to pass multiple parameters. I can pass one parameter for now... ?Name={Name} Thanks Task Navigate() => Shell.Current.GoToAsync($"{nameof(DetailPage)}?Name={Name}",

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,001 questions
asked 2023-01-26T20:32:49.7633333+00:00
Ronald Rex 531 Reputation points
accepted 2023-01-27T14:10:02.1066667+00:00
Ronald Rex 531 Reputation points
1 answer One of the answers was accepted by the question author.

Maui android on screen keyboard issue

Hello all. How I can modify the on screen keyboard for my application. I want that the on screen keyboard when my app run to contain only the alphanumeric and a few non alphanumeric characters. How I can do that and when exit my app to return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-24T07:23:50.46+00:00
Haviv Elbsz 481 Reputation points
commented 2023-01-27T12:00:08.3266667+00:00
Haviv Elbsz 481 Reputation points
1 answer One of the answers was accepted by the question author.

Maui android<helpview /> control issue

Hello all. because there is no helpview control. Is someone here can give me a way to add help to my application. Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-23T10:25:17.8233333+00:00
Haviv Elbsz 481 Reputation points
accepted 2023-01-27T06:38:03.3533333+00:00
Haviv Elbsz 481 Reputation points
1 answer

BrowserLaunchOptions's Style

Hi, Is it possible to set the properties of the BrowserLaunchOptions in the Resources's Style file? Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-05T22:54:32.547+00:00
Jassim Al Rahma 1,126 Reputation points
commented 2023-01-27T02:22:01.74+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,461 Reputation points Microsoft Employee
2 answers

Net Maui how to solve memory using problem that is it bug ?

I am working on net maui as a developer I have memory problem that app is closing or freezing itself.. any solution or we have to wait for fixing the bug ? Thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-19T02:39:22.9466667+00:00
Sami 101 Reputation points
commented 2023-01-27T01:05:30.7433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,461 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Questions about MAUI's Entitlement.plist

Hi, How important is the Entitlement.plist in MAUI? and why it's not added by default? so does this mean I don't need to for example to set the Push Notification capabilities? Kindly advise.. Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-24T13:19:41.7666667+00:00
Jassim Al Rahma 1,126 Reputation points
accepted 2023-01-26T15:39:57.72+00:00
Jassim Al Rahma 1,126 Reputation points
0 answers

How to implement zoom in, Zoom out and scrolling functionality for GraphicsView element?

Currently I'm trying on Dot Net 7 only for android and iOS platforms. I am trying to zoom in on GraphicsView. Zoom in zoom out functionality is working fine but getting issue for scroll vertical and horizontal. scroll is not working. I want to scroll…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-25T04:31:29.35+00:00
S GAIKWAD 206 Reputation points
commented 2023-01-26T15:24:12.75+00:00
S GAIKWAD 206 Reputation points
2 answers

Looking for a way to popup content similar to the ComboBox

Want a layout control that I can "open" to show content. It should be able to be placed on the screen again similar to the combobox so that I can set the position (most likely under another control).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-17T20:00:12.4133333+00:00
Lloyd Sheen 781 Reputation points
commented 2023-01-26T14:14:13.12+00:00
Lloyd Sheen 781 Reputation points
3 answers

VS2022 - Unable to optimize assemblies for performance

I Have Maui class libraries that compile with no error when the following configuration manager (Debug, Any CPU). When I build the solution with this configuration manager setting Release, AnyCPU I get the following error on all projects. Error…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,441 questions
asked 2023-01-01T13:55:26.72+00:00
Jean-Marc Flamand 26 Reputation points
answered 2023-01-26T10:23:41.83+00:00
Kerry W. Lothrop 0 Reputation points Microsoft MVP
0 answers

MAUI - how do I enable /disabled the close button in run time in main page

Hi, I want in timer in main page to enable /disabled the close button in run time ? Is it possible ? If yes how ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-25T07:23:25.4933333+00:00
דניאל שטרית 306 Reputation points
commented 2023-01-26T06:50:56.8066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
1 answer

Issue running project on Iphone and simulator

I've gotten a simple project which is running fine on Android, Windows and MacOS, but will not run on iPhone, either a physical device or the emulator. When running the app, I am setting quite a few breakpoints none of which ever trigger and there…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,001 questions
asked 2023-01-04T20:48:41.56+00:00
Gavin Beard 21 Reputation points
commented 2023-01-26T02:33:37.6933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
0 answers

[iOS] SIGABRT: Invalid URI: The URI scheme is not valid.

Hello This is a strange crash on iOS in .Net Maui particularly on application startup the first but the second or on subsequent launch it doesn’t crash. My concern is that Apple might reject it if this is the case but Google did not reject it as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-04T14:54:17.937+00:00
Tumi Tladi 21 Reputation points
commented 2023-01-26T02:32:09.2033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
2 answers

Push my App to Github using Visual Studio for Mac

Hi, How can I push my App to Github using Visual Studio for Mac? I can't find this option. Kindly help.. Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-05T14:01:28.06+00:00
Jassim Al Rahma 1,126 Reputation points
answered 2023-01-25T17:35:12.45+00:00
Bruce (SqlWork.com) 28,276 Reputation points
1 answer One of the answers was accepted by the question author.

navigation: transfering object

Hi, thank you for your time. Be aware: I'm a MAUI beginner! The final objektiv: when pressing the 'Button' in the 'MainPage' --> show the objects (images) in the 'AreaPage'. PS: I made my test-app public: 'github.com/edikaufmann/HikeFinder' some…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-24T08:12:07.8133333+00:00
Eduard Kaufmann 41 Reputation points
commented 2023-01-25T10:48:24.46+00:00
Eduard Kaufmann 41 Reputation points
1 answer

Disable macOS Smart Quotes feature in whole MAUI app or in BlazorWebView component for macCatalyst/iOS

Is there any way to disable globally Smart Quotes replacing mechanism in MAUI application for iOS/macOS? If not globally, is there maybe any option to disable this behavior per Page/Delegate or something? I tried to search any information, but there is a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-14T01:54:52.8+00:00
Mat3o 0 Reputation points
commented 2023-01-25T08:47:37.5+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
0 answers

can we use bUnit for UI testing the .net MAUI Blazor app, rendercomponent with the page is not working.

Have an application building using .Net maui blazor app, for testing the UI am using bUnit, not working. The rendercomponenet<login.razor> showing that call site is reachable on android 24 and later. Is bUnit can be used for maui blazor app does…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
630 questions
asked 2023-01-24T09:34:33.23+00:00
sai sushmitha ancha 0 Reputation points
commented 2023-01-25T07:07:23.77+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
1 answer

.Net Maui at a runtime does not showing latest updated system theme.

How get system current theme in .net Maui? I have checked in .net 6 is working properly but in .net 7 are working properly. We need to atleast application kill and relaunch after that it's working properly.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2022-12-01T02:33:22.803+00:00
S GAIKWAD 206 Reputation points
answered 2023-01-25T04:58:51.8966667+00:00
S GAIKWAD 206 Reputation points