How can I create a BasePage in MAUI with sections?
In my .NET8
MAUI
application, I have a lot of pages with the same XAML code and code behind. For example, I have the advertisement at the bottom of the XAML pages and use the same code to remove the space from the command line.
NET Maui – How do I populate a Picker manually in C# with a list of objects Without using MVC
I have a working Picker if I manually set the items in a loop using strings.
And I am getting the OnChange and getting the string value with picker.Items[picker.SelectedIndex]
MAUI Bindable Property
`
private static readonly BindableProperty InstanceProperty = BindableProperty.Create(nameof(Instance), typeof(MenuManagerViewModel), typeof(MenuView),
null, propertyChanged: InstancePropertyChanged);
What is the error NET MAUI App Project Creation?
Upon creating a .NET MAUI App project, I encountered multiple errors as soon as the project loaded. These issues are pervasive throughout the entire project. Here are a few examples from MainPage.xaml:
MAUI app has too many PathF points, possibly
Afternoon SO.
System.Reflection.TargetInvocationException Error thrown on startup by UserDialogs in MAUI
I have a MAUI App that i am upgrading from Xamarin. For popups we used the Acr.UserDialogs package but ran into some trouble. I tried fixing this problem by upgrading to a maui version of this package (Controls.Userdialogs.Maui). Unfortunatly the error persist so i must be doing something wrong.
How can I close a modal pages and open a new one in .Net Maui?
I have a .Net Maui 7 app. When a certain modal page is open, I need to open a new modal page and close the previous one. I have tried the following code but it’s not working :
Height and weight Scroll using Syncfusion Maui SfLinearGauge
I’m trying to recreate the Height Scroll from Figure1. The issue I’m encountering is that I can’t get the pointer to stay exactly in the middle of the screen. I’m using Scrollview’s padding and scrolled to try to recreate the height scroll with my current progress shown in Figure2. Any Recommendations or improvements would be very much appreciated.
How do I change position of popup from maui toolkit
I am wondering how do I change position of popup from toolkit. I expect something like this:
I have an error in my App.g.i.cs file in Visual Studio
global::Microsoft.UI.Xaml.Application.Start((p) => { var context = new global::Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext(global::Microsoft.UI.Dispatching.DispatcherQueue.GetForCurrentThread()); global::System.Threading.SynchronizationContext.SetSynchronizationContext(context); new App(); }); This line of code gives an error named: System.MissingMethodException: ‘No parameterless constructor defined.’ My code of the whole project seems to work on my colleagues laptop, but doesn’t work on my so my conclusion was that it was an error in my Visual […]