How do I dynamically change style for button in Maui?
I am wondering how do I dynamically change style for button.
What I expect is when I click first button the style should change to “ClickedButton” but for the second should be “DefaultButton”, respectively when second button is clicked. These styles are defined in styles.xaml file.
I am tring something like this:
C# .NET MAUI – Android TabGestureRecognizer open multiple pages
The bug is that if I double click on the frame, two instances of the page will open.
Get App current version from Play/Apple Store
I’m developing a feature inside my application that requires the user to always have the latest version before logging into the platform.
Issues with Device Communication in .NET MAUI Project: “External component has thrown an exception”
I’m encountering an issue with a .NET MAUI project that involves communicating with a device. The same code works fine in both Console and WPF applications, but fails in the .NET MAUI project.
We are using the same communication library and dependencies across all applications. In the .NET MAUI project, the device scanning part works correctly using the main DLL, but it fails when attempting to instantiate an opened device object (CreateAndConnect in code snippet). The error message we receive is: “External component has thrown an exception”.
How can I make a Page update/reload with the code behind C# MAUI .Net
`public async Task UpdateBoardUI() { //await Navigation.PushAsync(new ChessPage()); // Get current page var page = Navigation.NavigationStack.Last(); if (page is not ChessPage) { throw new FatalException(“Erro updating uma página que não é ChessPage”); } //Create new page ChessPage newPage = new ChessPage(new ChessViewModel(), PiecesList); // Load new page await Navigation.PushAsync(newPage); // Remove old page Navigation.RemovePage(page); }` […]
Get element after item click on collectionview via mvvm
I am trying to get the clicked item on my collection view (what a noble idea).
.NET MAUI C# Fragment ID Not Found
I have an .NET MAUI project. I made a login page and I tried to login I take:
Issue with .NET MAUI App Handling Shared Files When in Background
I’m developing a .NET MAUI application and I’ve encountered an issue related to file sharing. My app is designed to handle shared files from other apps or sources. However, I’m facing a System.InvalidOperationException: ‘Window was already created’ error under specific circumstances.
Issuer claim mismatch auth0.OidcclientAuth
I’m integrating a .NET framework web app with Auth0 and getting the below error.
Possible to override MAUI’s dependency injection?
I have a dependency injection framework used for an ASP.NET project. I’d like to use the same code for a new MAUI project but am having trouble finding a way to insert my DI container into the built in MAUI way of doing things.