3,340 questions with .NET MAUI tags

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

Resources for learning MVVM architectual pattern

Hello Friends. I was wondering if anyone has any great resources for learning the MVVM Architectual pattern, especially in a .Net Maui application. Thanks !!!!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 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.
10,804 questions
asked 2022-12-13T16:30:58.077+00:00
Ronald Rex 181 Reputation points
accepted 2022-12-14T14:02:42.64+00:00
Ronald Rex 181 Reputation points
1 answer

Music Player in Maui

I want to build a music player for android and windows. So prefers Maui for this project. So key points How to access audio files from storage How do I read the audio files artist and album Name and file format How to I make…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-10-07T07:28:31.677+00:00
Prathamesh Shende 376 Reputation points
commented 2022-12-14T12:57:23.973+00:00
Magnus Sax 1 Reputation point
1 answer

【resolved】maui TrayIcon with ContextMenuStrip not close when app lose focus (windows)

i am learning maui. https://github.com/yuzd/maui_chatgpt/blob/master/chatgpt/Platforms/Windows/NativeWindowing/WindowMessageSink.cs#L193-L250 The above source code shows the tray icon with menu created by winapi. How to close this menu in response to…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,566 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-12T14:57:39.323+00:00
zd yu 41 Reputation points MVP
answered 2022-12-14T12:09:00.51+00:00
zd yu 41 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Maui - scroll view

Hi, I used scroll view, I used MVVM , I want to bind the scrolled event to view model, how is can be done? When i press on button in this view i want to set the scroll view to start, how is can be done? Thanks, <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-06T09:23:58.39+00:00
Dani_S 3,621 Reputation points
accepted 2022-12-14T10:18:49.42+00:00
Dani_S 3,621 Reputation points
1 answer One of the answers was accepted by the question author.

I have problem with run iOS simulator (error DVTITunesSoftwareServiceFoundation)

I have problem with run app on iOS platform. I have error: I have Visual Studio 2022 17.4.2 and Xcode 14.1 (14B47b)

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-06T13:07:09.647+00:00
zc 51 Reputation points
accepted 2022-12-14T07:45:21.787+00:00
zc 51 Reputation points
1 answer One of the answers was accepted by the question author.

iOS simulators on Windows platform

How add more simulators on list on Visual Studio on Windows Platform ? I have problem, because I don't see all simulators on list: ][2] I need more iPads. I tried turn on simulators on Macbook and these simulators appear on the list but I can't…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-13T05:51:03.283+00:00
zc 51 Reputation points
accepted 2022-12-14T07:42:32.947+00:00
zc 51 Reputation points
1 answer

How to access to user defined class in .NET MAUI contentpage

Hi All, I have defined a class ContactInfo.cs and would like the class to be accessible by all the contentpage in my .NET MAUI project. Please let me know how to do it.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-08T17:52:59.867+00:00
Mun Foong Woo 1 Reputation point
commented 2022-12-14T07:41:17.14+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,346 Reputation points Microsoft Vendor
1 answer

CarouselView with ContentView

Hi, I have Onboarding ContentViews: PersonalInfo Education Experience How can I create a CarouselView to show the above ContentViews with a dots Indicator? Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-06T18:03:12.433+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-12-14T07:21:03.933+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 73,846 Reputation points Microsoft Vendor
0 answers

CollectionView: conditional for last element

Is there a possibility to address the last element in a CollectionView in order to style that differently? I use a BoxView with height 1 as a separator under the list items, but I do not want to have it under the last element.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-07T13:12:58.003+00:00
Ayleen 21 Reputation points
commented 2022-12-14T03:09:30.817+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 73,846 Reputation points Microsoft Vendor
1 answer

Regarding developer mode for .Net MAUI / WINUI3

We have an existing wpf application and planning to migrate that to .NET WinUI3/MAUI for better UI experience. Started with the development and noticed that debug mode needs to be enabled to debug the WinUI3/MAUI application. In the client…

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,751 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
771 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-13T07:17:48.737+00:00
Renjith237332 1 Reputation point
answered 2022-12-14T02:19:17.2+00:00
Xiaopo Yang - MSFT 12,631 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

List of Type Interface

Hello Friends. I was just wondering if anyone has a lot of experience working with Lists of type Interface and could share some of the interesting things you can use them for. Also, is there a way to sum a column in a List of Interface type? Thanks !!!!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 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.
10,804 questions
asked 2022-12-13T16:27:21.64+00:00
Ronald Rex 181 Reputation points
commented 2022-12-13T19:09:23.097+00:00
Ronald Rex 181 Reputation points
2 answers One of the answers was accepted by the question author.

How to show MAUI app in taskbar?

Hi, How to show MAUI app in taskbar? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-09-12T13:00:27.403+00:00
Dani_S 3,621 Reputation points
commented 2022-12-13T15:03:08.983+00:00
Michael Taylor 53,236 Reputation points
0 answers

Maui for android font size change by slider problem

Hi all I have two scrollable elements an editor and a label that are scrollable. and I set a slider values from 12 to 36 and set the font size of these two elements according to slider values. sometimes when dragging the slider…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 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.
10,804 questions
asked 2022-12-08T06:31:26.887+00:00
Haviv Elbsz 2,071 Reputation points
commented 2022-12-13T13:39:34.877+00:00
Haviv Elbsz 2,071 Reputation points
1 answer One of the answers was accepted by the question author.

Force reload views maui (Using the Tab Bar to navigate)

Is it possible to make (all) your views reload with a button or directly trough the TabBar I have some settings like "Language" and "Username", but I have no idea how to make the views reload after changing/saving the settings …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-12T08:07:20.137+00:00
Mielesplayz 286 Reputation points
accepted 2022-12-13T07:46:51.65+00:00
Mielesplayz 286 Reputation points
0 answers

.Net Maui Blazor UI Controls

My .NET MAUI blazor app has been working fine with third party Nuget i.e Radzen UI controls for blazor , it worked fine on web , Android (Debug and Release ) Configuration but those controls are not working in release mode for IOs device .I am using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,758 questions
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,539 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-12T12:05:27.29+00:00
neha m 1 Reputation point
commented 2022-12-13T05:45:21.21+00:00
Zhi Lv - MSFT 32,136 Reputation points Microsoft Vendor
2 answers

Maui - Changing columndefinition width in code behind not updating proportions on screen.

Hi, If I have a Grid with three columns with 3*, 7*, and 0*, and in code behind I changed the GridLength or even try to create a new columndefinition to change the proportion to 0*, 0* and 1*, to show only the 3rd control, the screen doesn't update,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 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.
10,804 questions
asked 2022-12-02T13:13:21.823+00:00
Ancines, Daniel 1 Reputation point
commented 2022-12-13T01:21:24.143+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,231 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can I access native osx NSWorkspace object from MAUI to execute openfile?

I am trying to open a file (pdf) using the default OSX application. Based on the Apple docs I can use the openFile command like this: NSWorkspace.shared.openFile("/Myfiles/README", withApplication: "TextEdit") docs:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-03T13:58:08.15+00:00
Yiannis B 21 Reputation points
accepted 2022-12-12T17:58:16.78+00:00
Yiannis B 21 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI - Developer tool

Hi, I used MAUI in window, I want to support in MAC (vs 2022 17.4.2). What IDE I need for mac ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-07T15:12:55.637+00:00
Dani_S 3,621 Reputation points
accepted 2022-12-12T13:32:31.64+00:00
Dani_S 3,621 Reputation points
1 answer One of the answers was accepted by the question author.

layout.width statement location in maui application

Hi all I put layout.width statement in page load event but its value is zero where I can put this statement so it's give me the real width of the layout Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 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.
10,804 questions
asked 2022-12-05T15:38:53.147+00:00
Haviv Elbsz 2,071 Reputation points
accepted 2022-12-12T10:14:32.287+00:00
Haviv Elbsz 2,071 Reputation points
1 answer

Blazor Maui Hybrid WebView Zoom settings (windows)

Hello I have a Blazor Maui hybrid app running (WebView). When the app runs (windows platform) the zoom state is 100% (equivalent to Edge or Chrome Zoom settings). The user can change the zoom state using ctrl + mouse wheel. If you change the zoom…

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,539 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-11T07:12:00.243+00:00
Richard Grieveson 1 Reputation point
answered 2022-12-12T07:44:42.287+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,346 Reputation points Microsoft Vendor