Relative Content

Tag Archive for c#mvvmmaui

.NET MAUI real-time detect Current CultureInfo Changed?

I followed the tutorial in this youtube Video by Geralt about Multilingual on .NET MAUI, very good and very detailed: https://www.youtube.com/watch?v=cf4sXULR7os
After many times I Googled the results from StackOverFlow, I could not find the answer for myself.

The double parameter is not updated in the display when it is changed in the MVVM command in NET MAUI

I am making a client application for a product store. The shopping cart is located on the server and the data is transferred there using requests to the server. The product basket is an ObservableCollection. The view also shows the total price generated in the ViewModel constructor. I implemented the command to remove an item from the observablecollection, and also put in the command to subtract the cost of the deleted item from the total amount parameter. The deleted item disappears from the list in the view, but the displayed amount remains the same.
XAML Code: