3,475 questions with .NET MAUI tags

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

search code does not execute (xaml page,pagemodel or MVVM )

I'm trying to add a search bar to my app, but can not get the code to execute. I've placed breakpoints in the pagemodel but they are tripped. Xaml: <SearchBar x:Name="searchBar" HorizontalOptions="Fill" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 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,904 questions
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.
808 questions
asked 2024-10-01T13:18:57.4+00:00
tim 180 Reputation points
commented 2024-10-03T21:15:43.33+00:00
tim 180 Reputation points
1 answer One of the answers was accepted by the question author.

Display radio button selection in Label without submitting the button twoway binding

I want to display the Radio button Selection in a Label (example Area/Perimeter),without submitting the button two way binding, please suggest. @page "/SquareSide" @using System.ComponentModel.DataAnnotations; @using MauiAppMCQs.Models; @using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-02T16:43:51.61+00:00
Kalyan A 185 Reputation points
accepted 2024-10-03T19:10:55.69+00:00
Kalyan A 185 Reputation points
1 answer

Maui navigation and TitleView is very confusing

I am trying to customize the TitleView in a Maui app. 1st - I am trying to get the page title but this is not happening. The property CurrentPage does not seem to get updated and this means that the Title prop of the CurrentPage is not accessable. 2nd…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2023-02-12T18:10:32.7866667+00:00
Lloyd Sheen 1,476 Reputation points
edited the question 2024-10-03T18:24:32.9666667+00:00
TP 93,991 Reputation points
1 answer

How to do the migration sqlite db with Ef core for blazor hybrid MAUI?

Hi I am working on an application for the Windows platform using Blazor Hybrid MAUI and want to create a SQLite database with multiple tables using EF Core for the migration. I have already defined the ApplicationDbContext.cs file and added it to…

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,574 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-02T10:06:51.8633333+00:00
sblb 1,191 Reputation points
commented 2024-10-03T15:39:02.7766667+00:00
sblb 1,191 Reputation points
0 answers

After returning to the previous page, a block with the application title is added. How can I remove it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-03T14:44:17.3033333+00:00
валера карманов 141 Reputation points
edited a comment 2024-10-03T14:44:56.46+00:00
валера карманов 141 Reputation points
0 answers

Generating the authentication token Using OAuth 2.0 for calling Google developer API

I am trying to generate the authentication token using OAuth 2.0 for the .NET MAUI application using the Google Cloud Console project to call the Google Developer API. For that, I created the project on the Google Cloud console, enabled the Google…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-03T13:02:47.5633333+00:00
Aleena George 30 Reputation points
0 answers

How to Drag and Drop Outlook Attachments into a .NET MAUI Application?

I’m working on a .NET MAUI application that allows users to drag and drop file attachments from Outlook. I have successfully implemented drag-and-drop functionality for files from Windows Explorer, but I’m facing challenges when trying to do the same…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,566 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,812 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-02T21:03:12.09+00:00
Ansh 0 Reputation points
commented 2024-10-03T12:51:48.49+00:00
Ansh 0 Reputation points
0 answers

How to move the creation of the layout for the "DataTemplate" class into a separate function?

There is such a code CollectionView _collection = new CollectionView { RemainingItemsThreshold = 10 }; _collection.ItemTemplate = new DataTemplate(_GetDataTemplate); private Border _GetDataTemplate() { var flexLayout = new FlexLayout { Direction =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-03T07:58:25.77+00:00
валера карманов 141 Reputation points
commented 2024-10-03T12:04:28.7633333+00:00
валера карманов 141 Reputation points
3 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 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,904 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 15 Reputation points
answered 2024-10-03T11:45:39.02+00:00
Stefan Cuypers 0 Reputation points
0 answers

Text localization

I want to add the ability to use languages in my application, but from what is written in the doc. it is not clear at all. I am interested in a couple of questions. In which folder to create resource files. You can use the Resources/Languages folder,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-03T11:26:40.09+00:00
валера карманов 141 Reputation points
0 answers

Tab Bar Content Titles Trimmed After Navigating to Custom WebView in .NET MAUI iOS App

I'm encountering an issue in my .NET MAUI application on iOS where the titles in the TabBar's ShellContent are being trimmed or cropped. This issue occurs only after navigating to a page that contains a WebView (referred to as "AppWebView") and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 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,904 questions
asked 2024-09-24T09:32:40.7366667+00:00
Nikhil Kurian 0 Reputation points
edited a comment 2024-10-03T11:11:36.0266667+00:00
Nikhil Kurian 0 Reputation points
0 answers

What will happen to performance when creating this layout?

There is a layout As I see it, it can be done on 7 "FlexLayout" elements. It will not harm the performance, and how good is this option. Maybe it is possible to somehow optimize the layout so that to use a minimum of layouts

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-03T09:14:24.5533333+00:00
валера карманов 141 Reputation points
2 answers

reusable template

In my collectionView, I have this <CollectionView Margin="20" ItemsSource="{Binding Turbines}"> <CollectionView.ItemTemplate> <DataTemplate x:DataType="model:TurbinePin"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-09-25T16:38:02.9433333+00:00
Eduardo Gomez Romero 525 Reputation points
answered 2024-10-03T08:57:46.96+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,161 Reputation points Microsoft Vendor
0 answers

It is not clear how the "LineHeight" property works for the "Label" element

Contains code for the class "DataTemplate" var offerPrice = new Label { FontSize = 40, LineHeight = -2, BackgroundColor = Color.FromArgb("#fff") }; offerPrice.SetBinding(Label.TextProperty, "price"); return new Border…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-03T07:44:35.64+00:00
валера карманов 141 Reputation points
1 answer One of the answers was accepted by the question author.

Autoload for "CollectionView" element

For the "CollectionView" element, you can use "RefreshView", but it is not clear how to implement it in the code. Please tell me. I use "HttpClient" to fill the "CollectionView" data

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-10-02T10:06:19.9233333+00:00
валера карманов 141 Reputation points
accepted 2024-10-03T06:35:57.3833333+00:00
валера карманов 141 Reputation points
0 answers

How do I fix "MessagingRemoteException: An error occurred on client Build1758030 while executing a reply for topic xvs/build/17.5.8030/execute-task/{AppName}/7281a93002fReadItemsFromFile" during iOS MAUI App bundle distribution?

Trying to publish my iOS application is giving me the following error no matter what I do, and I have already burned DAYS trying to resolve it. I can build the project fine, it runs in the simulator no issues. and I have previously built a testflight…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-09-20T03:47:38.8466667+00:00
Robert Heffernan 10 Reputation points
commented 2024-10-03T06:17:05.7266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,161 Reputation points Microsoft Vendor
2 answers

Editor controls in grid don't resize correctly after grid and row compressed to zero width and expanded back

Editor controls in a 3x3 grid don't resize correctly after compressing one of the rows and columns to 0 width and height and expanding it back to normal size. The bug is only present on the windows platform using Editor controls. Resizing works correctly…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
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.
808 questions
asked 2024-09-24T04:33:12.63+00:00
TazKing 0 Reputation points
commented 2024-10-03T05:58:35.0766667+00:00
TazKing 0 Reputation points
1 answer

How to fire SelectionChanged event of CollectionView on WebView click

I am using Visual Studio 2022 and maui 8.0 and API level 33 I have collectionView and inside it I have Label and WebView . I have written SelectionChanged Event as well. When I am trying to click Data at WebView SelectionChanged does not fire but when…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-09-26T09:27:39.1533333+00:00
Faiz Quraishi 145 Reputation points
commented 2024-10-03T01:50:17.67+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,161 Reputation points Microsoft Vendor
1 answer

Maui app issue

Hi, How to verify .Net Maui App is fine to work within Android? Any example? The build version is MauiXaml

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-09-09T08:29:11.0866667+00:00
Peter_1985 2,666 Reputation points
commented 2024-10-03T01:46:36.5266667+00:00
Peter_1985 2,666 Reputation points
1 answer One of the answers was accepted by the question author.

padding in swipeview

I have I padding in the swipe view, that I don't know where is coming from, I already tried, to set margin, padding to 0 and nothing When I swipe, I don't want to see the padding I am trying to mimic the behavior of the outlook app, when you delete…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,475 questions
asked 2024-09-29T03:29:17.1166667+00:00
Eduardo Gomez Romero 525 Reputation points
accepted 2024-10-02T10:45:42.7866667+00:00
Eduardo Gomez Romero 525 Reputation points