4,172 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
1 answer

RadioButton's FontIcon

Hi, How can I set a Font Icon to the RadioButton? I tried below code but did not work: <RadioButton GroupName="RadioDisplay" Grid.Column="2" Value="Dark"> <RadioButton.Content> …

Developer technologies | .NET | .NET MAUI
asked 2022-09-30T22:14:18.927+00:00
Jassim Al Rahma 1,616 Reputation points
commented 2022-10-06T21:00:54.613+00:00
dg2k 1,416 Reputation points
1 answer One of the answers was accepted by the question author.

How to add Cross-Platform Activated

Hi, How can I add cross-platform's Activated event for my .NET MAUI app to determine when the app is active? Thanks, Jassim

Developer technologies | .NET | .NET MAUI
asked 2022-10-05T16:49:54.713+00:00
Jassim Al Rahma 1,616 Reputation points
accepted 2022-10-06T17:17:32.097+00:00
Jassim Al Rahma 1,616 Reputation points
0 answers

Visual studio 2022 Maui tool box disappearing

Hello, I use visual studio 2022 for building Maui application, the tool box for maui controllers is showing and working fine, I want to use the toolbox on hot reload while the project is running but when I start the project the toolbox is…

Developer technologies | .NET | .NET MAUI
asked 2022-10-04T13:22:35.517+00:00
Ako Bar 1 Reputation point
commented 2022-10-05T21:58:02.813+00:00
Ako Bar 1 Reputation point
0 answers

I would like to create an app that saves pictures to a folder and shows them in an image view. How can i figure out this ?

I would like to create an app that saves pictures to a folder and shows them in an image view. The app should work on Android and Windows, and may be later on iOS. in .net MAUI .How can i figure out this ?

Developer technologies | .NET | .NET MAUI
Developer technologies | ASP.NET | Other
asked 2022-09-22T06:16:32.667+00:00
Anandkumar Rambriksh Yadav 1 Reputation point
commented 2022-10-05T09:31:31.263+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Global Objects in .NET MAUI

Is it possible to have global objects in .NET MAUI? When I saw the TabBar and the FlyOutMenu I came with the idea to add a global status icon on the corner of the screen, but I can't figure out how to do that.

Developer technologies | .NET | .NET MAUI
asked 2022-10-04T13:25:39.507+00:00
Mielesplayz 291 Reputation points
accepted 2022-10-05T06:41:49.537+00:00
Mielesplayz 291 Reputation points
1 answer

Has any one tried to use the HasShadow property on a Frame?

If it works it is very subtle as I can see no difference from True to False.

Developer technologies | .NET | .NET MAUI
asked 2022-10-04T15:02:26.717+00:00
Lloyd Sheen 1,486 Reputation points
answered 2022-10-04T23:10:42.177+00:00
Rob Caplan - MSFT 6,037 Reputation points Microsoft Employee Moderator
0 answers

Would anyone else like to have a list of what works in Hot Reload for Maui and what does not.

One of the worst "features" of VS 2022 is hot reload. Some things you change will be changed by Hot Reload but lots will not. At present as Hot Reload does not always change the UI I am required to make the change to the XAML and see what…

Developer technologies | .NET | .NET MAUI
Developer technologies | Visual Studio | Other
asked 2022-10-04T15:35:09.153+00:00
Lloyd Sheen 1,486 Reputation points
commented 2022-10-04T23:02:41.95+00:00
Rob Caplan - MSFT 6,037 Reputation points Microsoft Employee Moderator
0 answers

VS and Maui don't seem to know about each other or caching is wrong

So I have list of images (png) that correspond to items by name. I have method to remove all none good characters from the name and toLower. The problem is that before I copied all the images to a folder I added one image just to make sure what I was…

Developer technologies | .NET | .NET MAUI
Developer technologies | Visual Studio | Other
asked 2022-10-03T15:08:12.613+00:00
Lloyd Sheen 1,486 Reputation points
commented 2022-10-04T07:03:14.603+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

TabBar's bar title is not centered

In our .Net MAUI iOS app, we use Shell TabBar: <TabBar> <Tab Title="Home" Icon="{StaticResource IconHome}"> <ShellContent ContentTemplate="{DataTemplate local:MainPage}" /> …

Developer technologies | .NET | .NET MAUI
asked 2022-09-30T15:04:09.097+00:00
Dmitriy Reznik 241 Reputation points
accepted 2022-10-03T14:27:50.193+00:00
Dmitriy Reznik 241 Reputation points
0 answers

.net maui, timer on a page to retreive data without page refresh

0 i am creating a .net Maui/Xamarin mobile application, it is an application to sell items. there is 2 main steps 1- seller send a product for sell 2- clients start to send their price offer for that product now after the seller send the…

Developer technologies | .NET | .NET MAUI
asked 2022-10-01T06:05:07.307+00:00
MahamatHammat-5360 1 Reputation point
commented 2022-10-03T09:28:42.223+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
0 answers

Alternative to Mono.Runtime.RemoveSignalHandlers/InstallSignalHandlers

We have Xamarin.Android and Xamarin.iOS apps that can catch and report native crashes by installing their own signal handlers like this: Mono.Runtime.RemoveSignalHandlers(); try { NativeCrashListener.Initialize(); } finally { …

Developer technologies | .NET | .NET MAUI
asked 2022-09-15T10:06:11.06+00:00
Alexander 1 Reputation point
commented 2022-10-03T08:50:46.413+00:00
Alexander 1 Reputation point
0 answers

And VS 2022 get worse by the day, now adding code that I didn't

So just had two events during editing code (C#) in a Maui solution that make me wonder. The first was during the adding of a Constructor it added code to init properties but the code was not correct and I did not ask for it. The second is that in…

Developer technologies | .NET | .NET MAUI
Developer technologies | Visual Studio | Other
asked 2022-09-27T21:56:54.633+00:00
Lloyd Sheen 1,486 Reputation points
commented 2022-10-03T07:11:00.203+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
1 answer

Use files etc in Maui

I have some 50 image files which my app should be able to read as the ImageSource for a particular item in the app. There is a name property which corresponds to the filename of the .png file. I have now spent 2 days trying all sorts of things…

Developer technologies | .NET | .NET MAUI
asked 2022-09-30T18:58:32.75+00:00
Lloyd Sheen 1,486 Reputation points
commented 2022-10-03T01:43:53.303+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Exception when using custom renderer

For our .Net MAUI application, I created custom renderers for iOS and Android. For iOS it looks like this: internal class MyShellRenderer : ShellRenderer { protected override IShellItemRenderer CreateShellItemRenderer(ShellItem…

Developer technologies | .NET | .NET MAUI
asked 2022-09-30T13:16:35.087+00:00
Dmitriy Reznik 241 Reputation points
accepted 2022-09-30T14:58:11.407+00:00
Dmitriy Reznik 241 Reputation points
3 answers

Return and Close

Hi, I have the below button in MAUI Class library that should return a Person class and close the current page but when I try it I get Unreachable code detected Here is the code: private List<User> Success_Clicked(System.Object…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2022-09-16T21:20:39.287+00:00
Jassim Al Rahma 1,616 Reputation points
commented 2022-09-30T14:53:03.727+00:00
Jassim Al Rahma 1,616 Reputation points
2 answers

Change maui button background color at runtime

Hi All I have a lengthy method in my application when the application start I want to change the run button background color to red background color and when the lengthy method finished I change it to it's original background color. …

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2022-08-29T08:05:28.88+00:00
Haviv Elbsz 2,091 Reputation points
commented 2022-09-30T09:59:32.233+00:00
dg2k 1,416 Reputation points
1 answer

Can I do maui speech-to-text c#

I thought I would play with Maui, so why not a speech to text app. I want to capture the text and manipulate it. Doing TextToSpeech was pretty easy, and it only took a few minutes to get something to work. Doing the reverse, not so much. After a…

Developer technologies | .NET | .NET MAUI
asked 2022-09-23T20:04:11.46+00:00
Daniel Crotty 6 Reputation points
commented 2022-09-30T09:27:01.933+00:00
dg2k 1,416 Reputation points
1 answer One of the answers was accepted by the question author.

How do you achieve round edges for controls such as Entry, Editor and Picker for MAUI Android?

This is my follow-up question to this one, and would like to know how to customize controls for corner smoothing effect using Maui Handlers. Specifically, how do you apply Maui Handlers to achieve round corners for controls like Entry, Editor and…

Developer technologies | .NET | .NET MAUI
asked 2022-09-27T11:41:46.237+00:00
dg2k 1,416 Reputation points
accepted 2022-09-30T09:21:31.827+00:00
dg2k 1,416 Reputation points
1 answer

MAUI - Map&Marker

Can we replace a default-marker in Maui? Does anyone have any information or ideas on this subject? e.g:

Developer technologies | .NET | .NET MAUI
asked 2022-09-29T21:26:52.663+00:00
Gökhan DOĞRU 1 Reputation point
commented 2022-09-30T08:20:32.107+00:00
Gökhan DOĞRU 1 Reputation point
1 answer

Is there a Dock function in the MAUI, which can be located at the top, bottom, left and right?

Is there a Dock function in the MAUI, which can be located at the top, bottom, left and right?

Developer technologies | .NET | .NET MAUI
asked 2022-09-29T09:01:54.903+00:00
hm w 11 Reputation points
answered 2022-09-30T06:49:42.603+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff