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" …
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…
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…
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…
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…
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…
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 =…
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…
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,…
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…
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
reusable template
In my collectionView, I have this <CollectionView Margin="20" ItemsSource="{Binding Turbines}"> <CollectionView.ItemTemplate> <DataTemplate x:DataType="model:TurbinePin"> …
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…
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
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…
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…
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…
Maui app issue
Hi, How to verify .Net Maui App is fine to work within Android? Any example? The build version is MauiXaml
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…